1 // RUN: %clang_cc1 %s -fsyntax-only -verify
2 // expected-no-diagnostics
12 } Instance
__attribute__((transparent_union
));
14 __attribute__((overloadable
)) void Class_Init(Instance
this, char *str
, void *str2
) {
15 this.object
->str
= str
;
16 this.object
->str2
= str2
;
19 __attribute__((overloadable
)) void Class_Init(Instance
this, char *str
) {
20 this.object
->str
= str
;
21 this.object
->str2
= str
;
26 Class_Init(&obj
, "Hello ", " World");