URL
https://opencores.org/ocsvn/scarts/scarts/trunk
Subversion Repositories scarts
[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [g++.dg/] [lookup/] [friend9.C] - Rev 12
Compare with Previous | Blame | View Log
// PR c++/25492
class Base {
public:
class Nested {};
};
class Derived:public Base {
public:
class Nested {
public:
void m();
};
class AnotherNested {
friend class Nested;
AnotherNested() {}
};
};
void Derived::Nested::m() {
Derived::AnotherNested instance;
}