2 /* { dg-options "-std=gnu99" } */
3 /* { dg-require-effective-target trampolines } */
10 struct foo
{ char x
[++n
]; } bar(void) { struct foo r
; return r
; }
15 if (2 != sizeof(bar()))
20 struct bar
{ char x
[++n
]; } (*bar2p
)(void);
21 struct bar
bar2(void) { struct bar r
; return r
; }
27 if (2 != sizeof((*bar2p
)()))
32 struct str
{ char x
[++n
]; } *bar3(void)
34 struct str
* s
= __builtin_malloc(sizeof(struct str
));
47 if (2 != sizeof(*(p
= bar3())))
54 struct { char x
[++n
]; } *bar4(void) { }
60 if (2 != sizeof(*bar4()))