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++/52685
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
operator9.C
1
//PR c++/27670
2
3
template<operator+> void foo(); // { dg-error "before|non-function|template" }
4
5
void bar()
6
{
7
foo(); // { dg-error "no matching function" }
8
// { dg-message "(candidate|deduce template parameter)" "candidate note" { target *-*-* } 7 }
9
}
10