diff options
author | Paolo Carlini <paolo.carlini@oracle.com> | 2017-05-25 09:32:06 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2017-05-25 09:32:06 +0000 |
commit | 2673d1925b3702b754d86631746bcca376be75f0 (patch) | |
tree | c2e1cc7712eef70eb4473ecbdd35553814359c62 /gcc | |
parent | bce8ef718dcafd0251fe338bf952679b803493c3 (diff) | |
download | gcc-2673d1925b3702b754d86631746bcca376be75f0.zip gcc-2673d1925b3702b754d86631746bcca376be75f0.tar.gz gcc-2673d1925b3702b754d86631746bcca376be75f0.tar.bz2 |
re PR c++/68578 (ICE on invalid template declaration and instantiation)
2017-05-25 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/68578
* g++.dg/cpp1y/pr68578.C: New.
From-SVN: r248450
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/cpp1y/pr68578.C | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index bb65818..ae561d1 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2017-05-25 Paolo Carlini <paolo.carlini@oracle.com> + + PR c++/68578 + * g++.dg/cpp1y/pr68578.C: New. + 2017-05-25 Marc Glisse <marc.glisse@inria.fr> * gcc.dg/tree-ssa/vce-1.c: New file. diff --git a/gcc/testsuite/g++.dg/cpp1y/pr68578.C b/gcc/testsuite/g++.dg/cpp1y/pr68578.C new file mode 100644 index 0000000..3fe0723 --- /dev/null +++ b/gcc/testsuite/g++.dg/cpp1y/pr68578.C @@ -0,0 +1,3 @@ +// { dg-do compile { target c++14 } } + +template <typename> struct bar foo; template <> struct foo<>: // { dg-error "class template|expected" } |