OSDN Git Service

PR c++/27177
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / template / copy1.C
1 // { dg-do compile }
2
3 // Origin: hkluender@otg.com
4
5 // PR 5189
6
7 struct A
8 {
9   A(A&); // { dg-error "candidate" "" }
10   template <class T> A(T); 
11 };
12
13 A a = 0; // { dg-error "no matching function|initializing" "" }
14