projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bdd1b1f
)
c++: Tweak g++.dg/template/pr98372.C.
author
Marek Polacek
<polacek@redhat.com>
Thu, 14 Jan 2021 19:44:59 +0000
(14:44 -0500)
committer
Marek Polacek
<polacek@redhat.com>
Thu, 14 Jan 2021 19:46:18 +0000
(14:46 -0500)
This test was failing in C++11 because variable templates are only
available in C++14.
gcc/testsuite/ChangeLog:
* g++.dg/template/pr98372.C: Only run in C++14 and up.
gcc/testsuite/g++.dg/template/pr98372.C
patch
|
blob
|
history
diff --git
a/gcc/testsuite/g++.dg/template/pr98372.C
b/gcc/testsuite/g++.dg/template/pr98372.C
index f1e8b0f332355356a330aeade3880e544064d816..054c94d9edbf8de1254fd7512d19eb92f30bd353 100644
(file)
--- a/
gcc/testsuite/g++.dg/template/pr98372.C
+++ b/
gcc/testsuite/g++.dg/template/pr98372.C
@@
-1,5
+1,5
@@
// PR 98372 ICE due to incorrect type compare
-// { dg-do compile { target c++1
1
} }
+// { dg-do compile { target c++1
4
} }
template <typename _Tp> using remove_pointer_t = typename _Tp ::type;
template <bool> struct enable_if;