From: Paolo Carlini Date: Sat, 14 Oct 2017 20:06:08 +0000 (+0000) Subject: re PR c++/81016 (ICE: segfault with template struct specialisation) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=27b8e74a872a56d68093343458a4e3ddc16753db;p=gcc.git re PR c++/81016 (ICE: segfault with template struct specialisation) 2017-10-14 Paolo Carlini PR c++/81016 * g++.dg/cpp1z/pr81016.C: New. From-SVN: r253762 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 609269a0741..80dede23db7 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2017-10-14 Paolo Carlini + + PR c++/81016 + * g++.dg/cpp1z/pr81016.C: New. + 2017-10-14 Jakub Jelinek PR middle-end/62263 diff --git a/gcc/testsuite/g++.dg/cpp1z/pr81016.C b/gcc/testsuite/g++.dg/cpp1z/pr81016.C new file mode 100644 index 00000000000..4826fbfb775 --- /dev/null +++ b/gcc/testsuite/g++.dg/cpp1z/pr81016.C @@ -0,0 +1,4 @@ +// { dg-options "-std=c++17" } + +template struct b; +template struct b; // { dg-error "template parameter" }