diff options
author | Nathan Sidwell <nathan@acm.org> | 2020-09-24 11:34:10 -0700 |
---|---|---|
committer | Nathan Sidwell <nathan@acm.org> | 2020-09-24 11:35:59 -0700 |
commit | d482c07b34558998658eac7fede023a853561314 (patch) | |
tree | cc5ed29cdaa0e26c275a9b028d68c08b4afa14d9 /gcc | |
parent | 1b8a23fc97de65f3188d0cdd5bfb56060defa84c (diff) | |
download | gcc-d482c07b34558998658eac7fede023a853561314.zip gcc-d482c07b34558998658eac7fede023a853561314.tar.gz gcc-d482c07b34558998658eac7fede023a853561314.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/g++.dg/template/local-fn4.C | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/g++.dg/template/local-fn4.C b/gcc/testsuite/g++.dg/template/local-fn4.C index 4699012..f8522dd 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 <class GG> struct no { |