repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Daily bump.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
operator9.C
blob
c1303efa4cf86fb0856275eba8bc38cedfbbe192
1
//PR c++/27670
2
3
template<operator+> void foo(); // { dg-error "10:declaration" }
4
// { dg-error "expected|template" "" { target *-*-* } .-1 }
5
6
void bar()
7
{
8
foo(); // { dg-error "no matching function" }
9
}
10