summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/divconst-3.c
blob: ddd687cbcfde9294ac697bb484f56a9da071d6e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
long long
f (long long x)
{
  return x / 10000000000LL;
}

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