URL
https://opencores.org/ocsvn/scarts/scarts/trunk
Subversion Repositories scarts
[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.other/] [lookup20.C] - Rev 12
Compare with Previous | Blame | View Log
// { dg-do assemble }
// Bug: typename_sub2 returned the type, so we tried to look up "A" in B.
struct A { struct A1 { }; };
struct B {
typedef A Q;
};
struct C: public B::Q::A1 { };