projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b8a23f
)
c++: restrict test to c++>=11 [pr97171]
author
Nathan Sidwell
<nathan@acm.org>
Thu, 24 Sep 2020 18:34:10 +0000
(11:34 -0700)
committer
Nathan Sidwell
<nathan@acm.org>
Thu, 24 Sep 2020 18:35:59 +0000
(11:35 -0700)
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
patch
|
blob
|
history
diff --git
a/gcc/testsuite/g++.dg/template/local-fn4.C
b/gcc/testsuite/g++.dg/template/local-fn4.C
index
4699012
..
f8522dd
100644
(file)
--- 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 {