From f8501f04ea07e18d68979c129d1ff2b1001e918d Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Fri, 8 Jul 2011 12:46:28 -0400 Subject: [PATCH] constexpr-rom.C tweak From-SVN: r176049 --- gcc/testsuite/g++.dg/cpp0x/constexpr-rom.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.30.2