Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.dg / other / error9.C
blob65a9c58ceb2eb04f73bc297fc30163e245f8ebe7
1 // { dg-options -Wall }
3 // Copyright (C) 2004 Free Software Foundation, Inc.
4 // Contributed by Nathan Sidwell 27 Sept 2004 <nathan@codesourcery.com>
6 // Origin:       v.haisman@sh.cvut.cz
7 // Bug 17681: bad diagnostic text.
9 struct A
10 { };
12 struct B
13 { };
15 struct C : public B, public A
17   C ()  // { dg-warning "when initialized" "" }
18     : A(), B()  // { dg-warning "base .\[AB\]." "" }
19   { }