PR inline-asm/84742
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / pr66940.c
blobfbd109dccc72c290d935d81a3f3dd219f11f908d
1 long long __attribute__ ((noinline, noclone))
2 foo (long long ival)
4 if (ival <= 0)
5 return -0x7fffffffffffffffL - 1;
7 return 0x7fffffffffffffffL;
10 int
11 main (void)
13 if (foo (-1) != (-0x7fffffffffffffffL - 1))
14 __builtin_abort ();
16 if (foo (1) != 0x7fffffffffffffffL)
17 __builtin_abort ();
19 return 0;