fix combined array declarations (resolves #34)

This commit is contained in:
Zachary Snow
2019-09-11 19:32:12 +02:00
parent a0068f60f2
commit 46242aac5d
3 changed files with 34 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
module top;
typedef struct packed {
logic f1;
logic f2;
} T;
T a[1:0];
T b[1:0];
T c[1:0], d[1:0];
T e[1:0], f[1:0], g;
T h, i[1:0];
T j;
struct packed {
logic f1;
logic f2;
} k;
endmodule