blob: 9cff2223ae83f5fd798d1fc5f9d1cd710680330f [file] [log] [blame]
// PR 84812. ICE determining implicit "C" linkage
struct A { void foo(); };
struct B { void foo(); };
struct C : A, B
{
void X ();
};
void C::X ()
{
void foo (); // local decl of ::foo
foo ();
}
// { dg-final { scan-assembler "_Z3foov" } }