diff options
Diffstat (limited to 'gcc/testsuite/gcc.target/mips/nan-2008.c')
-rw-r--r-- | gcc/testsuite/gcc.target/mips/nan-2008.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.target/mips/nan-2008.c b/gcc/testsuite/gcc.target/mips/nan-2008.c new file mode 100644 index 0000000..b31299d --- /dev/null +++ b/gcc/testsuite/gcc.target/mips/nan-2008.c @@ -0,0 +1,7 @@ +/* { dg-do compile } */ +/* { dg-options "-mnan=2008 -EB" } */ + +double d = __builtin_nan (""); + +/* { dg-final { scan-assembler "\t\.nan\t2008\n" } } */ +/* { dg-final { scan-assembler "\t\.word\t2146959360\n\t.word\t0\n" } } */ |