Imported Upstream version 4.8.1
[platform/upstream/gcc48.git] / gcc / testsuite / g++.old-deja / g++.other / using3.C
1 // { dg-do assemble  }
2 struct A{
3   A();
4 };
5
6 typedef struct {
7   A i;
8 } S;
9
10 struct B: S{
11   using S::S;          // { dg-error "" "" { target c++98 } } no such field
12 };