URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.jason/] [nested4.C] - Rev 154
Compare with Previous | Blame | View Log
// { dg-do assemble }
// From: quipu@ulrik.uio.no
// Subject: extern "C" nested class
// Date: Fri, 13 Aug 1993 15:33:53 +0200
extern "C" {
struct A {
struct B { int j; } *x;
};
}
void
foo () {
A a;
struct A::B *b;
b = a.x; // { dg-bogus "" } type `B' is not a base type for type `B'
}