aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/lookup5.C
blob: e38b222748724e42c9cf430997458253c45fe7d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Build don't link:

struct B { 
  int i;
};

struct D: public B {
  int i;
};

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