Partial fix for #52 - only when names differ
This commit is contained in:
parent
bf685d1dfc
commit
d6e9a49194
3 changed files with 80 additions and 25 deletions
|
|
@ -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
|
||||
|
|
@ -115,6 +115,15 @@ multiline1()
|
|||
let p = multiline2()
|
||||
multiline3()
|
||||
|
||||
# Issue #52
|
||||
var
|
||||
s6: struct6
|
||||
s6p: STRUCT6
|
||||
e6: enum6t
|
||||
e6p: ENUM6
|
||||
u3: union3
|
||||
u3p: UNION3
|
||||
|
||||
cAddStdDir()
|
||||
|
||||
## failing tests
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue