From: Nathan Sidwell Date: Thu, 24 Sep 2020 18:34:10 +0000 (-0700) Subject: c++: restrict test to c++>=11 [pr97171] X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d482c07b34558998658eac7fede023a853561314;p=gcc.git c++: restrict test to c++>=11 [pr97171] I'd missed an important restriction on use of noexcept. Fixed thusly gcc/testsuite/ * g++.dg/template/local-fn4.C: Add target c++11 --- diff --git a/gcc/testsuite/g++.dg/template/local-fn4.C b/gcc/testsuite/g++.dg/template/local-fn4.C index 4699012accc..f8522dd77e8 100644 --- a/gcc/testsuite/g++.dg/template/local-fn4.C +++ b/gcc/testsuite/g++.dg/template/local-fn4.C @@ -1,6 +1,6 @@ // PR c++/97186 // ICE in exception spec substitution - +// { dg-do compile { target c++11 } } template struct no {