OSDN Git Service

* g++.old-deja/g++.other/init5.C: Remove xfail for powerpc-linux.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.other / crash39.C
1 // { dg-do assemble  }
2
3 // Copyright (C) 2000 Free Software Foundation, Inc.
4 // Contributed by Nathan Sidwell 10 Jan 2001 <nathan@codesourcery.com>
5
6 // Bug 595. We failed to clear out some things after seeing a duplicate
7 // struct definition. That caused us to become inconsistent.
8
9 struct X
10 {
11   ~X ();
12 };
13 struct S { X a; };  // { dg-error "" } previous defn
14 struct S { X a; };  // { dg-error "" } redefinition
15
16 void c1(S s)
17 {
18 }