summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/lookup2.C
blob: 567f7a43a60a3d8b7fc1a2b6e8eee5a462a8f837 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// { dg-do assemble  }

struct B { 
  int i;
};

struct D: virtual public B {
  int i;
};

struct D2 : public D {
  void f() { i = 3; }
};