8sa1-gcc/gcc/testsuite/gcc.c-torture/execute/20001013-1.c
2000-10-16 21:55:27 +02:00

18 lines
202 B
C

struct x {
int a, b;
} z = { -4028, 4096 };
int foo(struct x *p, int y)
{
if ((y & 0xff) != y || -p->b >= p->a)
return 1;
return 0;
}
main()
{
if (foo (&z, 10))
abort ();
exit (0);
}