blob: cd5a8393eb068ae53cd3efe70b8990b28b8ad275 [file] [log] [blame]
// From: quipu@ulrik.uio.no
// Subject: extern "C" nested class
// Date: Fri, 13 Aug 1993 15:33:53 +0200
// Build don't link:
extern "C" {
struct A {
struct B { int j; } *x;
};
}
void
foo () {
A a;
struct A::B *b;
b = a.x; // gets bogus error - type `B' is not a base type for type `B'
}