Debian Codegraph @

gcc/testsuite/gcc.c-torture/execute/950621-1.c

raw
1 /* { dg-additional-options "-fpermissive" } */
2
3 struct s
4 {
5 int a;
6 int b;
7 struct s *dummy;
8 };
9
10 f (struct s *sp)
11 {
12 return sp && sp->a == -1 && sp->b == -1;
13 }
14
15 main ()
16 {
17 struct s x;
18 x.a = x.b = -1;
19 if (f (&x) == 0)
20 abort ();
21 exit (0);
22 }