1 // Copyright (C) 2005 Free Software Foundation, Inc.
2 // Contributed by Nathan Sidwell 4 Jan 2005 <nathan@codesourcery.com>
5 // Origin: Volker Reichelt <reichelt@gcc.gnu.org>
7 struct A; // { dg-error "A" }
11 struct A; // { dg-error "A" }
16 int A::i; // { dg-error "ambiguous|declared here" "" }
17 int A::i; // { dg-error "ambiguous|redefinition of" "" }