2 // Origin: Giovanni Bajo <giovannibajo at gcc dot gnu dot org>
3 // DR152: explicit copy constructors
7 X(); // { dg-message "candidate" }
10 void f(X); // { dg-error "initializing" }
14 f(x); // { dg-error "matching" "matching" }
21 X(); // { dg-message "candidate" }
26 void f(T ) {} // { dg-error "initializing" }
32 N2::f(x); // { dg-error "matching" "matching" }
35 template int foo<float>(); // { dg-message "instantiated from here" }