mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-19 01:40:39 +08:00
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:
parent
14745bcac0
commit
27b8e74a87
@ -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
|
||||
|
4
gcc/testsuite/g++.dg/cpp1z/pr81016.C
Normal file
4
gcc/testsuite/g++.dg/cpp1z/pr81016.C
Normal 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" }
|
Loading…
x
Reference in New Issue
Block a user