(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
template/
copy1.C
// { 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 } }