summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/20040319-1.c
blob: 357932d9b247abd7db2f8f9e6343f2ba9f32eea5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
int
blah (int zzz)
{
  int foo;
  if (zzz >= 0)
    return 1;
  foo = (zzz >= 0 ? (zzz) : -(zzz));
  return foo;
}

main()
{
  if (blah (-1) != 1)
    abort ();
  else
    exit (0);
}