aboutsummaryrefslogtreecommitdiff
path: root/tests/include
diff options
context:
space:
mode:
authorGanesh Viswanathan <dev@genotrance.com>2020-03-16 23:15:34 -0500
committerGanesh Viswanathan <dev@genotrance.com>2020-03-16 23:15:34 -0500
commit1a9911fc259a5dd5ac9a6097c4d41d6e3e50169b (patch)
treec2e47d1547e9706032ae6b576130f466d2125675 /tests/include
parent3f500898aa5b45b423348846d794463585ef34ee (diff)
downloadnimterop-1a9911fc259a5dd5ac9a6097c4d41d6e3e50169b.tar.gz
nimterop-1a9911fc259a5dd5ac9a6097c4d41d6e3e50169b.zip
Add ast2 union support
Diffstat (limited to 'tests/include')
-rw-r--r--tests/include/tast2.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/include/tast2.h b/tests/include/tast2.h
index ced3a44..90e96c6 100644
--- a/tests/include/tast2.h
+++ b/tests/include/tast2.h
@@ -35,8 +35,8 @@ typedef struct A20 { char a1; } A20, A21, *A21p;
typedef struct A22 { int **f1; int *f2[123+132]; } A22;
//Unions
-//union UNION1 {int f1; };
-//typedef union UNION2 { int **f1; int abc[123+132]; } UNION2;
+union U1 {int f1; float f2; };
+typedef union U2 { int **f1; int abc[123+132]; } U2;
// Anonymous
//typedef struct { char a1; };