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:
parent
cee89b1964
commit
e9f9c81fda
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
};
|
Loading…
Reference in New Issue