Extend struct with another field

Signed-off-by: Ryszard Rozak <rrozak@antmicro.com>
This commit is contained in:
Ryszard Rozak 2026-01-23 14:23:36 +01:00
parent 0e1aa435b6
commit 1ee32af229
1 changed files with 4 additions and 1 deletions

View File

@ -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;