OSDN Git Service

* typeck2.c (abstract_virtual_errors): Reword diagnostics, make them
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.other / lookup12.C
1 // { dg-do assemble  }
2 // Origin: Mark Mitchell <mark@codesourcery.com>
3
4 struct B {
5   struct X {};
6 };
7
8
9 struct D : public B {
10   void X();
11
12   struct X x;
13
14   void f();
15 };
16
17
18 void D::f() 
19 {
20   struct X y;
21 }