2008-05-30 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / 20080502-1.c
blobed9b2085e8e5ed3b89896b199b07e4f2a74b6100
1 /* PR target/36090 */
3 extern void abort (void);
5 long double __attribute__ ((noinline)) foo (long double x)
7 return __builtin_signbit (x) ? 3.1415926535897932384626433832795029L : 0.0;
10 int
11 main (void)
13 if (foo (-1.0L) != 3.1415926535897932384626433832795029L)
14 abort ();
15 return 0;