Debian Codegraph @

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

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