Debian Codegraph @

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

raw
1 /* { dg-additional-options "-fpermissive" } */
2
3 f (const int x)
4 {
5 int y = 0;
6 y = x ? y : -y;
7 {
8 const int *p = &x;
9 }
10 return y;
11 }
12
13 main ()
14 {
15 if (f (0))
16 abort ();
17 exit (0);
18 }