modernc.org/ccgo/v3@v3.16.14/lib/testdata/gcc-9.1.0/gcc/testsuite/gcc.c-torture/compile/20060823-1.c (about) 1 /* PR middle-end/28683 */ 2 3 extern void foo (int *); 4 5 struct A 6 { 7 int f; 8 }; 9 10 struct A * 11 test (struct A *r) 12 { 13 int *f = &r->f; 14 static int i = 0; 15 if (!i && !((void *) f == (void *) r)) 16 foo (&i); 17 return r; 18 }