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:
Paolo Carlini 2010-05-06 16:07:02 +00:00 committed by Paolo Carlini
parent e97580ceb3
commit 1017e3e654
2 changed files with 11 additions and 0 deletions

View File

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

View File

@ -0,0 +1,6 @@
// PR c++/40406
template<int> struct A
{
template<int> template<int> void A::foo() {} // { dg-error "extra qualification" }
};