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:
parent
64c7e556ab
commit
5dc3a78ce0
@ -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
|
||||
|
9
gcc/testsuite/g++.dg/template/nested2.C
Normal file
9
gcc/testsuite/g++.dg/template/nested2.C
Normal file
@ -0,0 +1,9 @@
|
||||
template <class T> class CO {
|
||||
class CI1 {
|
||||
class CI2;
|
||||
};
|
||||
};
|
||||
|
||||
template <class T>
|
||||
class CO<T>::CI1::CI2 {};
|
||||
|
Loading…
Reference in New Issue
Block a user