OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
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