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" }
}