Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
lookup
/
pr84812.C
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" } }