Commit 27b8e74a by Paolo Carlini Committed by Paolo Carlini

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
parent 14745bca
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> 2017-10-14 Jakub Jelinek <jakub@redhat.com>
PR middle-end/62263 PR middle-end/62263
......
// { dg-options "-std=c++17" }
template <typename a, a> struct b;
template <typename c> struct b<bool, c::d>; // { dg-error "template parameter" }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment