2 /* { dg-do compile } */
3 /* { dg-options "--combine -O2" } */
4 /* { dg-additional-sources "pr34457-2.c" } */
7 typedef __SIZE_TYPE__
size_t;
8 extern int printf (const char *, ...);
9 extern void *memset (void *, int, size_t);
11 int bar (int (*)(), int, void *);
14 main(int argc
, char **argv
)
16 struct s
{ int a
; char b
[argc
]; };
17 int nested (struct s x
) { return x
.a
+ sizeof(x
); }
19 memset (&t
, 0, sizeof(t
));
21 printf("%d\n", bar (nested
, argc
, &t
));