aboutsummaryrefslogtreecommitdiff
path: root/tests/include
diff options
context:
space:
mode:
authorGanesh Viswanathan <dev@genotrance.com>2018-12-26 17:42:13 -0600
committerGanesh Viswanathan <dev@genotrance.com>2018-12-26 17:42:13 -0600
commit1684e773ad51612ea1034834662049e1228ddad9 (patch)
tree912d81944f2cde0d269c68a554d58aa522693a8f /tests/include
parent34cb1715b876ac9dd09b97b938638f6beaff926b (diff)
downloadnimterop-1684e773ad51612ea1034834662049e1228ddad9.tar.gz
nimterop-1684e773ad51612ea1034834662049e1228ddad9.zip
Tests for enhancements
Diffstat (limited to 'tests/include')
-rw-r--r--tests/include/test.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/tests/include/test.h b/tests/include/test.h
index af7eeb8..bf4f70d 100644
--- a/tests/include/test.h
+++ b/tests/include/test.h
@@ -29,6 +29,18 @@ typedef enum {
enum6
} ENUM2;
+enum {
+ enum7,
+ enum8,
+ enum9
+};
+
+typedef enum ENUM4 {
+ enum10,
+ enum11,
+ enum12
+} ENUM4;
+
typedef void * VOIDPTR;
typedef int * INTPTR;
@@ -41,7 +53,7 @@ union UNION1 {
float field2;
};
-typedef union {
+typedef union UNION2 {
double field1;
unsigned char field2;
} UNION2;