aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/using3.C
blob: 7d75d8a8794bdaca9f81f97bda1154dae705d744 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Build don't link:
struct A{
  A();
};

typedef struct {
  A i;
} S;

struct B: S{
  using S::S;        // ERROR - no such field
};