diff options
Diffstat (limited to 'gcc-4.9/gcc/testsuite/gcc.target/i386/amd64-abi-2.c')
-rw-r--r-- | gcc-4.9/gcc/testsuite/gcc.target/i386/amd64-abi-2.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/testsuite/gcc.target/i386/amd64-abi-2.c b/gcc-4.9/gcc/testsuite/gcc.target/i386/amd64-abi-2.c new file mode 100644 index 000000000..6146e8efa --- /dev/null +++ b/gcc-4.9/gcc/testsuite/gcc.target/i386/amd64-abi-2.c @@ -0,0 +1,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; } + |