Debian Codegraph @

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

raw
1 /* { dg-additional-options "-std=gnu89" } */
2
3 int a = 1, b;
4
5 g () { return 0; }
6 h (x) {}
7
8 f ()
9 {
10 if (g () == -1)
11 return 0;
12 a = g ();
13 if (b >= 1)
14 h (a);
15 return 0;
16 }
17
18 main ()
19 {
20 f ();
21 if (a != 0)
22 abort ();
23 exit (0);
24 }