summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/20000503-1.c
blob: bbf32623f439752dd72ebca6f80d7db0d85ec10c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
unsigned long
sub (int a)
{
  return ((0 > a - 2) ? 0 : a - 2) * sizeof (long);
}

main ()
{
  if (sub (0) != 0)
    abort ();

  exit (0);
}