URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.old-deja/] [g++.other/] [crash39.C] - Rev 154
Compare with Previous | Blame | View Log
// { dg-do assemble }
// Copyright (C) 2000 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 10 Jan 2001 <nathan@codesourcery.com>
// Bug 595. We failed to clear out some things after seeing a duplicate
// struct definition. That caused us to become inconsistent.
struct X
{
~X ();
};
struct S { X a; }; // { dg-error "" } previous defn
struct S { X a; }; // { dg-error "" } redefinition
void c1(S s)
{
}