aboutsummaryrefslogtreecommitdiff
path: root/tests/include
diff options
context:
space:
mode:
authorGanesh Viswanathan <dev@genotrance.com>2019-01-21 12:09:01 -0600
committerGanesh Viswanathan <dev@genotrance.com>2019-01-21 12:09:01 -0600
commit6584a304d5a32d82ee7663d7b8925b2831541a7e (patch)
tree816084b8e9b513ec36ec58a513942c3e2649b1bc /tests/include
parentc89a741095a4ed4858ea41eee6c412c3fea2e68e (diff)
downloadnimterop-6584a304d5a32d82ee7663d7b8925b2831541a7e.tar.gz
nimterop-6584a304d5a32d82ee7663d7b8925b2831541a7e.zip
Support for empty struct/union
Diffstat (limited to 'tests/include')
-rw-r--r--tests/include/test.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/include/test.h b/tests/include/test.h
index 6c62e2f..06eb18e 100644
--- a/tests/include/test.h
+++ b/tests/include/test.h
@@ -28,6 +28,8 @@ extern "C" {
typedef uint8_t PRIMTYPE;
typedef PRIMTYPE CUSTTYPE;
+struct STRUCT0;
+
struct STRUCT1 {
int field1;
};