8sa1-gcc/gcc/testsuite/gcc.c-torture/execute/divconst-3.c
Jeff Law 921e5a0eb4 Initial revision
From-SVN: r14840
1997-08-19 01:34:40 -06:00

13 lines
155 B
C

long long
f (long long x)
{
return x / 10000000000LL;
}
main ()
{
if (f (10000000000LL) != 1 || f (100000000000LL) != 10)
abort ();
exit (0);
}