Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
inherit
/
ambig1.C
blob: 3596bb5983e75ac742043ed2652706e58600e859 [
file
] [
log
] [
blame
]
// PR c++/51614
struct
A
{
void
foo
();
};
struct
B
:
A
{};
struct
C
:
A
{};
struct
D
:
B
,
C
{
D
()
{
A
::
foo
();
}
// { dg-error "ambiguous" }
};