summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/ieee/fp-cmp-7.c
blob: 385acafc204cb049a097a92b3efa51d1e65f16d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
extern void link_error ();

void foo(double x)
{
  if (x > __builtin_inf())
    link_error ();
}

int main ()
{
  foo (1.0);
  return 0;
}