summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/ieee/pr36332.c
blob: 325ac88b800b3a8ce161b0a41c24efdea98c382c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* PR target/36332 */

int
foo (long double ld)
{
  return ld == __builtin_infl ();
}

int
main ()
{
  if (foo (__LDBL_MAX__))
    __builtin_abort ();
  return 0;
}