re PR c++/40406 (ICE with broken template member declaration)
2010-05-06 Paolo Carlini <paolo.carlini@oracle.com> PR c++/40406 * g++.dg/template/crash96.C: New. From-SVN: r159112
This commit is contained in:
parent
e97580ceb3
commit
1017e3e654
@ -1,3 +1,8 @@
|
||||
2010-05-06 Paolo Carlini <paolo.carlini@oracle.com>
|
||||
|
||||
PR c++/40406
|
||||
* g++.dg/template/crash96.C: New.
|
||||
|
||||
2010-05-06 Jan Hubicka <jh@suse.cz>
|
||||
|
||||
PR tree-optimization/43791
|
||||
|
6
gcc/testsuite/g++.dg/template/crash96.C
Normal file
6
gcc/testsuite/g++.dg/template/crash96.C
Normal file
@ -0,0 +1,6 @@
|
||||
// PR c++/40406
|
||||
|
||||
template<int> struct A
|
||||
{
|
||||
template<int> template<int> void A::foo() {} // { dg-error "extra qualification" }
|
||||
};
|
Loading…
Reference in New Issue
Block a user