Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
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" }
}