Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.dg / warn / pr21983.C
blob3021c3ff5003b51f6d7fca11e5f6a69f8240da1f
1 // PR c++/21983
2 // { dg-do compile }
4 struct B { virtual void foo () = 0; };
5 struct D1 : public virtual B { virtual void foo () {} };
6 struct D2 : public virtual B { virtual void foo () {} };
7 struct D : public D1, public D2 { };    // { dg-warning "no unique final overrider" }