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
This commit is contained in:
Nathan Sidwell 2020-09-24 11:34:10 -07:00
parent 1b8a23fc97
commit d482c07b34

View file

@ -1,6 +1,6 @@
// PR c++/97186
// ICE in exception spec substitution
// { dg-do compile { target c++11 } }
template <class GG>
struct no {