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
This commit is contained in:
Paolo Carlini 2017-10-14 20:06:08 +00:00 committed by Paolo Carlini
parent 14745bcac0
commit 27b8e74a87
2 changed files with 9 additions and 0 deletions

View File

@ -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

View File

@ -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" }