From d6e9a491946a153e41b25eda524bd9335f1baaa6 Mon Sep 17 00:00:00 2001 From: Ganesh Viswanathan Date: Tue, 22 Jan 2019 23:03:51 -0600 Subject: Partial fix for #52 - only when names differ --- tests/include/test.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'tests/include') 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 -- cgit v1.2.3