summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/941025-1.c
blob: 2daf0ad25cc28c3813070b40a1d9935a818bc383 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
long f (x, y)
     long x,y;
{
  return (x > 1) ? y : (y & 1);
}

main ()
{
  if (f (2L, 0xdecadeL) != 0xdecadeL)
    abort ();
  exit (0);
}