From d482c07b34558998658eac7fede023a853561314 Mon Sep 17 00:00:00 2001 From: Nathan Sidwell Date: Thu, 24 Sep 2020 11:34:10 -0700 Subject: [PATCH] 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 --- gcc/testsuite/g++.dg/template/local-fn4.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {