Array ptr, numeric length, tests

This commit is contained in:
Ganesh Viswanathan 2018-12-26 20:18:38 -06:00
commit e59e34a7be
4 changed files with 16 additions and 10 deletions

View file

@ -46,6 +46,10 @@ typedef int * INTPTR;
typedef struct {
int *field;
int field2[TEST_INT];
enum ENUM field3[TEST_INT];
int *field4[TEST_INT];
ENUM4 *field5[TEST_INT];
} STRUCT4;
union UNION1 {

View file

@ -39,6 +39,8 @@ ct = 4
s.field1 = 5
s2.field1 = 6
s3.field1 = 7
s4.field2[2] = 5
s4.field3[3] = enum1
e = enum1
e2 = enum4