diff options
author | Paolo Carlini <paolo.carlini@oracle.com> | 2017-10-14 20:06:08 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2017-10-14 20:06:08 +0000 |
commit | 27b8e74a872a56d68093343458a4e3ddc16753db (patch) | |
tree | b5d469bfaf63a8e6c88556f584649e6f5175a657 /gcc | |
parent | 14745bcac0e7b90a5c671b1f9402a53e57ea6431 (diff) | |
download | gcc-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/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/g++.dg/cpp1z/pr81016.C | 4 |
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" } |