aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorPaolo Carlini <paolo.carlini@oracle.com>2017-10-14 20:06:08 +0000
committerPaolo Carlini <paolo@gcc.gnu.org>2017-10-14 20:06:08 +0000
commit27b8e74a872a56d68093343458a4e3ddc16753db (patch)
treeb5d469bfaf63a8e6c88556f584649e6f5175a657 /gcc
parent14745bcac0e7b90a5c671b1f9402a53e57ea6431 (diff)
downloadgcc-27b8e74a872a56d68093343458a4e3ddc16753db.zip
gcc-27b8e74a872a56d68093343458a4e3ddc16753db.tar.gz
gcc-27b8e74a872a56d68093343458a4e3ddc16753db.tar.bz2
re PR c++/81016 (ICE: segfault with template struct specialisation)
2017-10-14 Paolo Carlini <paolo.carlini@oracle.com> PR c++/81016 * g++.dg/cpp1z/pr81016.C: New. From-SVN: r253762
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/g++.dg/cpp1z/pr81016.C4
2 files changed, 9 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 609269a..80dede2 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2017-10-14 Paolo Carlini <paolo.carlini@oracle.com>
+
+ PR c++/81016
+ * g++.dg/cpp1z/pr81016.C: New.
+
2017-10-14 Jakub Jelinek <jakub@redhat.com>
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 0000000..4826fbfb
--- /dev/null
+++ b/gcc/testsuite/g++.dg/cpp1z/pr81016.C
@@ -0,0 +1,4 @@
+// { dg-options "-std=c++17" }
+
+template <typename a, a> struct b;
+template <typename c> struct b<bool, c::d>; // { dg-error "template parameter" }