Extend struct with another field
Signed-off-by: Ryszard Rozak <rrozak@antmicro.com>
This commit is contained in:
parent
0e1aa435b6
commit
1ee32af229
|
|
@ -16,7 +16,10 @@ module t (
|
|||
|
||||
integer cyc = 0;
|
||||
|
||||
typedef struct {int x;} struct_t;
|
||||
typedef struct {
|
||||
int x;
|
||||
logic y;
|
||||
} struct_t;
|
||||
|
||||
struct_t s_array[3];
|
||||
struct_t my_struct;
|
||||
|
|
|
|||
Loading…
Reference in New Issue