aboutsummaryrefslogtreecommitdiff
path: root/tests/include
diff options
context:
space:
mode:
authorGanesh Viswanathan <dev@genotrance.com>2019-01-22 23:03:51 -0600
committerGanesh Viswanathan <dev@genotrance.com>2019-01-22 23:03:51 -0600
commitd6e9a491946a153e41b25eda524bd9335f1baaa6 (patch)
treee2e3ad5e8d36fe2f95f5be998650091929214a30 /tests/include
parentbf685d1dfc356f41e07e8c42e28969381452df7e (diff)
downloadnimterop-d6e9a491946a153e41b25eda524bd9335f1baaa6.tar.gz
nimterop-d6e9a491946a153e41b25eda524bd9335f1baaa6.zip
Partial fix for #52 - only when names differ
Diffstat (limited to 'tests/include')
-rw-r--r--tests/include/test.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/include/test.h b/tests/include/test.h
index 12f052c..29048a7 100644
--- a/tests/include/test.h
+++ b/tests/include/test.h
@@ -115,6 +115,20 @@ void
*multiline2(void),
multiline3(void);
+// Issue #52
+typedef struct struct6 { char name; } *STRUCT6;
+typedef enum enum6t { enum16 } *ENUM6;
+typedef union union3 { char name; } *UNION3;
+
+struct struct6 test_call_stype6();
+STRUCT6 test_call_stype_ptr6();
+
+enum enum6t test_call_etype6();
+ENUM6 test_call_etype_ptr6();
+
+union union3 test_call_utype3();
+UNION3 test_call_etype_ptr3();
+
#ifdef __cplusplus
}
#endif \ No newline at end of file