aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/i386/amd64-abi-2.c
blob: 6146e8efa29af665edf3376a86da1bf2ec965525 (plain)
1
2
3
4
5
6
7
8
/* PR target/26223 */
/* { dg-do compile { target { ! { ia32 } } } } */
/* { dg-options "-mno-80387" } */
/* { dg-additional-options "-mabi=sysv" { target *-*-mingw* } } */

long double foo(long double x) { return x; } /* { dg-error "x87 disabled" } */
long double bar(long double x) { return x; }