re PR c++/8906 (segmentation fault when parsing nested-class definition)

PR c++/8906
	* g++.dg/template/nested2.C: New test.

From-SVN: r63240
This commit is contained in:
Mark Mitchell 2003-02-21 20:22:47 +00:00 committed by Mark Mitchell
parent 64c7e556ab
commit 5dc3a78ce0
2 changed files with 14 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2003-02-21 Mark Mitchell <mark@codesourcery.com>
PR c++/8906
* g++.dg/template/nested2.C: New test.
2003-02-21 Mark Mitchell <mark@codesourcery.com>
PR c++/8724

View File

@ -0,0 +1,9 @@
template <class T> class CO {
class CI1 {
class CI2;
};
};
template <class T>
class CO<T>::CI1::CI2 {};