Debian Codegraph @

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

raw
1 void abort (void);
2 void exit (int);
3
4 struct x {
5 int a, b;
6 } z = { -4028, 4096 };
7
8 int foo(struct x *p, int y)
9 {
10 if ((y & 0xff) != y || -p->b >= p->a)
11 return 1;
12 return 0;
13 }
14
15 int main(void)
16 {
17 if (foo (&z, 10))
18 abort ();
19 exit (0);
20 }