2013-10-21 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / torture / pr54409.c
blobc7595474f5cd2aaafe260239b6da3d171e76eff6
1 /* { dg-do compile } */
3 int b;
5 struct S
7 char *p;
8 struct {
9 } s;
10 int a;
13 static _Bool
14 fn2 (int *p1)
16 if (b)
18 struct S *c = (struct S *) &p1;
19 return c->a;
23 _Bool
24 fn3 (struct S *p1)
26 if (fn2 ((int *) &p1->s))
27 return 0;