I noticed this test failing in C++11 mode.

Tested x86_64-pc-linux-gnu, applying to trunk.

        * g++.dg/parse/attr4.C: Use c++11 in a target selector.
---
 gcc/testsuite/g++.dg/parse/attr4.C | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/g++.dg/parse/attr4.C 
b/gcc/testsuite/g++.dg/parse/attr4.C
index 160c33e2625..36ebdbd0bae 100644
--- a/gcc/testsuite/g++.dg/parse/attr4.C
+++ b/gcc/testsuite/g++.dg/parse/attr4.C
@@ -1,4 +1,4 @@
 // PR c++/93684 - ICE-on-invalid with broken attribute.
 
 [[a:: // { dg-error "expected" }
-  // { dg-error "-:expected" "" { target c++14 } .+1 }
+  // { dg-error "-:expected" "" { target c++11 } .+1 }

base-commit: 78db0e093e69f360ac1ef871ca08895a4d2bec06
-- 
Marek Polacek • Red Hat, Inc. • 300 A St, Boston, MA

Reply via email to