repo.or.cz
/
official-gcc
/
graphite-test-results.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge from mainline (167278:168000).
[official-gcc/graphite-test-results.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
operator9.C
blob
35be778765a4eeece1497ce002c44e1aca54f2eb
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" "candidate note" { target *-*-* } 7 }
9
}
10