New test case.
From-SVN: r23214
This commit is contained in:
parent
6946bc60bf
commit
822a4ff162
22
gcc/testsuite/g++.old-deja/g++.martin/lookup1.C
Normal file
22
gcc/testsuite/g++.old-deja/g++.martin/lookup1.C
Normal file
@ -0,0 +1,22 @@
|
||||
//Build don't link:
|
||||
//In the base class list, the context of the current is used
|
||||
//reported by Stephen Vavasis <vavasis@CS.Cornell.EDU>
|
||||
|
||||
namespace N1 {
|
||||
namespace N2 {
|
||||
class A{};
|
||||
class B;
|
||||
}
|
||||
}
|
||||
|
||||
class N1::N2::B : public A {
|
||||
};
|
||||
|
||||
|
||||
class C1 {
|
||||
class A{};
|
||||
class B;
|
||||
};
|
||||
|
||||
class C1::B : A {
|
||||
};
|
Loading…
Reference in New Issue
Block a user