summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/ieee/pr29302-1.c
blob: f6f3dd2cd539d9d8efe1a32f078a166e6f44538f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
extern void abort (void);

int main (void)
{
  int n;
  long double x;

  x = 1/0.0;

  n = (x == 1/0.0);

  if (n == 1)
    return 0;
  else
    abort ();
}