Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.old-deja / g++.jason / access15.C
blobd7a30f9ff71ce624f1578176e8784741c4844254
1 // { dg-do assemble  }
2 // Bug: g++ complains about Z being a private base when trying to
3 // initialize B::foo.
5 struct Z {
6   Z();
7   Z(int);
8 };
10 struct A : private Z { };
11 struct B : public A
13     ::Z foo;
14     B();
15     B(const B&);
18 B::B() : foo(1) { }             // { dg-bogus "" }