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

struct B { 
  int i;
};

struct D: public B {
  int i;
};

template <class T>
struct D2 : public D {
  void f() { i = 3; }
};