Debian Codegraph @

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

raw
1 void abort (void);
2 void exit (int);
3
4 long a = 1;
5
6 int
7 foo (void)
8 {
9 switch (a % 2 % 2 % 2 % 2 % 2 % 2 % 2 % 2)
10 {
11 case 0:
12 return 0;
13 case 1:
14 return 1;
15 default:
16 return -1;
17 }
18 }
19
20 int
21 main (void)
22 {
23 if (foo () != 1)
24 abort ();
25 exit (0);
26 }