re PR c++/11546 (Type lookup problems in out-of-line definition of a class doubly nested from a template class)

PR c++/11546
	* g++.dg/template/lookup1.C: New test.

From-SVN: r69602
This commit is contained in:
Mark Mitchell 2003-07-20 04:52:23 +00:00 committed by Mark Mitchell
parent cee89b1964
commit e9f9c81fda
2 changed files with 22 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2003-07-19 Mark Mitchell <mark@codesourcery.com>
PR c++/11546
* g++.dg/template/lookup1.C: New test.
2003-07-19 Zack Weinberg <zack@codesourcery.com>
* gcc.dg/noncompile/label-1.c: New comprehensive test case for

View File

@ -0,0 +1,17 @@
template <class T0>
class A {
public:
class B;
};
template <class T0>
class A<T0>::B {
public:
class C;
};
template <class T0>
class A<T0>::B::C {
public:
A<T0> &a;
};