From: Jason Merrill Date: Fri, 8 Jul 2011 16:46:28 +0000 (-0400) Subject: constexpr-rom.C tweak X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f8501f04ea07e18d68979c129d1ff2b1001e918d;p=gcc.git constexpr-rom.C tweak From-SVN: r176049 --- diff --git a/gcc/testsuite/g++.dg/cpp0x/constexpr-rom.C b/gcc/testsuite/g++.dg/cpp0x/constexpr-rom.C index e2edb2e345d..144be2d9f1b 100644 --- a/gcc/testsuite/g++.dg/cpp0x/constexpr-rom.C +++ b/gcc/testsuite/g++.dg/cpp0x/constexpr-rom.C @@ -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 {