1// { dg-do assemble  }
2// From: quipu@ulrik.uio.no
3// Subject: extern "C" nested class
4// Date: Fri, 13 Aug 1993 15:33:53 +0200
5
6extern "C" {
7  struct A {
8    struct B { int j; } *x;
9  };
10}
11
12void
13foo () {
14  A a;
15  struct A::B *b;
16  b = a.x;	// { dg-bogus "" } type `B' is not a base type for type `B'
17}
18