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-error "initializing" }
14 f(x); // { dg-error "matching" "matching" }
15 // { dg-message "candidate" "candidate note" { target *-*-* } 14 }
22 X(); // { dg-message "note" }
27 void f(T ) {} // { dg-error "initializing" }
33 N2::f(x); // { dg-error "matching" "matching" }
34 // { dg-message "candidate" "candidate note" { target *-*-* } 33 }
37 template int foo<float>(); // { dg-message "instantiated from here" }