2 // Origin: Giovanni Bajo <giovannibajo at gcc dot gnu dot org>
3 // DR152: explicit copy constructors
7 X(); // { dg-message "note" }
10 void f(X); // { dg-message "initializing" }
14 f(x); // { dg-error "matching" "matching" }
22 X(); // { dg-message "note" }
27 void f(T) {} // { dg-message "initializing" }
33 N2::f(x); // { dg-error "matching" "matching" }
37 template int foo<float>(); // { dg-message "required from here" }