From 7aef3afe6a37cc4c9a1cd1e354af0cd3fc37d3ac Mon Sep 17 00:00:00 2001 From: Marek Polacek Date: Thu, 28 May 2020 10:13:16 -0400 Subject: c++: Fix tmplattr10.C This test uses C++11 features so should only run in c++11. * g++.dg/ext/tmplattr10.C: Only run in c++11. --- gcc/testsuite/g++.dg/ext/tmplattr10.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc') diff --git a/gcc/testsuite/g++.dg/ext/tmplattr10.C b/gcc/testsuite/g++.dg/ext/tmplattr10.C index 3fb8c21..46caa07 100644 --- a/gcc/testsuite/g++.dg/ext/tmplattr10.C +++ b/gcc/testsuite/g++.dg/ext/tmplattr10.C @@ -1,5 +1,5 @@ // PR c++/95222 -// { dg-do compile { target { { i?86-*-* x86_64-*-* } && ia32 } } } +// { dg-do compile { target { { { i?86-*-* x86_64-*-* } && ia32 } && c++11 } } } #if defined(_MSC_VER) #define CC_FASTCALL __fastcall -- cgit v1.1