summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/980604-1.c
blob: 8992a90c643b6cc2cfd976f076aed1d36d3d34b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
int a = 1;
int b = -1;

int c = 1;
int d = 0;

main ()
{
  double e;
  double f;
  double g;

  f = c;
  g = d;
  e = (a < b) ? f : g;
  if (e)
    abort ();
  exit(0);
}