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
This commit is contained in:
Paolo Carlini 2017-05-25 09:32:06 +00:00 committed by Paolo Carlini
parent bce8ef718d
commit 2673d1925b
2 changed files with 8 additions and 0 deletions

View file

@ -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.

View file

@ -0,0 +1,3 @@
// { dg-do compile { target c++14 } }
template <typename> struct bar foo; template <> struct foo<>: // { dg-error "class template|expected" }