constexpr-rom.C tweak
authorJason Merrill <jason@gcc.gnu.org>
Fri, 8 Jul 2011 16:46:28 +0000 (12:46 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 8 Jul 2011 16:46:28 +0000 (12:46 -0400)
From-SVN: r176049

gcc/testsuite/g++.dg/cpp0x/constexpr-rom.C

index e2edb2e..144be2d 100644 (file)
@@ -1,6 +1,6 @@
 // PR c++/49673: check that test_data goes into .rodata
 // { dg-options -std=c++0x }
-// { dg-final { scan-assembler "rodata" } }
+// { dg-final { scan-assembler "rodata" { target { *-*-linux-gnu || *-*-elf } } } }
 
 struct Data
 {