// PR c++/106201 // { dg-do compile { target c++11 } } struct A { template A(const T&); }; struct B { template B(const T&); }; void f(A&); void f(B); struct C { }; int main() { C c; f(c); }