blob: 494dd91bb80cdd4a1018748de977ac907f2055c6 [file] [log] [blame]
// { dg-do compile { target c++11 } }
struct A
{
A(double);
};
struct B: A
{
B(short);
using A::A;
};
int main()
{
B b(1); // { dg-error "ambiguous" }
}