Merge from mainline (167278:168000).
[official-gcc/graphite-test-results.git] / gcc / testsuite / g++.dg / template / copy1.C
blobc6b3ff8066575c68609b32110af597f32d37b9ef
1 // { dg-do compile }
3 // Origin: hkluender@otg.com
5 // PR 5189
7 struct A
9   A(A&); // { dg-message "note" }
10   template <class T> A(T);      // { dg-message "note" }
13 A a = 0; // { dg-error "no matching function" }
14 // { dg-message "candidate" "candidate note" { target *-*-* } 13 }