blob: 01d4cc632868892ba05f7c9ac37b6872ce14afe7 [file] [log] [blame]
// PR c++/77563
struct A {
A(int) {}
A(unsigned) {} // Comment to make it work
explicit A(long) {} // Comment to make it work
};
void f(A) { }
int main() {
f(2);
f(3l); // { dg-error "ambiguous" }
}