From 27b8e74a872a56d68093343458a4e3ddc16753db Mon Sep 17 00:00:00 2001 From: Paolo Carlini Date: Sat, 14 Oct 2017 20:06:08 +0000 Subject: [PATCH] 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 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/g++.dg/cpp1z/pr81016.C | 4 ++++ 2 files changed, 9 insertions(+) create mode 100644 gcc/testsuite/g++.dg/cpp1z/pr81016.C 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" } -- 2.30.2