From: Marek Polacek Date: Thu, 28 May 2020 14:13:16 +0000 (-0400) Subject: c++: Fix tmplattr10.C X-Git-Tag: releases/gcc-10.2.0~306 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2991e83b34a3af4237a207010a5ec147b83fc5b7;p=thirdparty%2Fgcc.git 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. --- diff --git a/gcc/testsuite/g++.dg/ext/tmplattr10.C b/gcc/testsuite/g++.dg/ext/tmplattr10.C index 3fb8c21ccbe0..46caa0700985 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