Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
overload
/
using4.C
blob: e4ee8232ebe0684e693bd7d9f9458156a0f8769c [
file
] [
log
] [
blame
]
struct
A
{
void
f
();
};
struct
B
{
void
f
();
};
struct
C
:
A
,
B
{
using
A
::
f
;
using
B
::
f
;
};
int
main
()
{
C
().
f
();
// { dg-error "ambiguous" }
}