* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / explicit4.C
blob346a6e25908eb9f88ea1139ba17a06fe8cc4e5bf
1 // Negative explicit conv test.
2 // { dg-do compile { target c++11 } }
4 struct A {
5   A(const A&, int = 0);         // { dg-message "note" }
6 };
7 struct B
9   explicit operator A();
12 int main()
14   B b;
15   (A(b));                       // OK
16   (A(b,1));                     // { dg-error "no match" }