blob: 3b45cc08386f8c557d6ae96f0505b441b4129d68 [file] [log] [blame]
// { dg-do compile }
// Origin: hkluender@otg.com
// PR 5189
struct A
{
A(A&); // { dg-error "candidate" "" }
template <class T> A(T);
};
A a = 0; // { dg-error "no matching function|initializing" "" }