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
gcc/cp/
[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-message "note" }
10
template <class T> A(T); // { dg-message "note" }
11
};
12
13
A a = 0; // { dg-error "no matching function" }
14
// { dg-message "candidate" "candidate note" { target *-*-* } 13 }
15