1 /* { dg-do compile } */
2 /* { dg-options "-mnan=legacy -EB" } */
3 
4 double d = __builtin_nan ("");
5 
6 /* { dg-final { scan-assembler "\t\\.nan\tlegacy\n" } } */
7 /* { dg-final { scan-assembler "\t\\.word\t2146959359\n\t\\.word\t(?:-1|4294967295)\n" } } */
8