blob: a34221df38b649b33479f953fe0b4b0feb55f284 [file] [log] [blame]
// { dg-do compile }
// Origin: hkluender@otg.com
// PR 5189
struct A
{
A(A&); // { dg-message "A::A" "" { target c++14_down } }
template <class T> A(T); // { dg-message "A::A" "" { target c++14_down } }
};
A a = 0; // { dg-error "" "" { target c++14_down } }