From: Paolo Carlini Date: Thu, 25 May 2017 09:32:06 +0000 (+0000) Subject: re PR c++/68578 (ICE on invalid template declaration and instantiation) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2673d1925b3702b754d86631746bcca376be75f0;p=gcc.git re PR c++/68578 (ICE on invalid template declaration and instantiation) 2017-05-25 Paolo Carlini PR c++/68578 * g++.dg/cpp1y/pr68578.C: New. From-SVN: r248450 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index bb658182cfa..ae561d148d2 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2017-05-25 Paolo Carlini + + PR c++/68578 + * g++.dg/cpp1y/pr68578.C: New. + 2017-05-25 Marc Glisse * 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 00000000000..3fe07230117 --- /dev/null +++ b/gcc/testsuite/g++.dg/cpp1y/pr68578.C @@ -0,0 +1,3 @@ +// { dg-do compile { target c++14 } } + +template struct bar foo; template <> struct foo<>: // { dg-error "class template|expected" }