PR c++/82069 - ICE with lambda in template
[official-gcc.git] / gcc / testsuite / gcc.dg / pr43419.c
bloba4306f04855e0e3c3b1746deb5e43b5334f4a02d
1 /* { dg-do run } */
2 /* { dg-options "-O1" } */
3 /* { dg-add-options ieee } */
4 #include <math.h>
6 extern void abort (void);
7 void __attribute__((noinline)) f (double x)
9 double pluszero = pow (x, 0.5);
10 double minuszero = sqrt (x);
11 if (signbit (pluszero) == signbit (minuszero))
12 abort ();
15 int main(void)
17 f (-0.0);
18 return 0;