Sign in
gnu
/
gcc
/
93ac832f1846e4867aa6537f76f510fab8e3e87d
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
operator9.C
blob: c1303efa4cf86fb0856275eba8bc38cedfbbe192 [
file
] [
log
] [
blame
]
//PR c++/27670
template
<
operator
+>
void
foo
();
// { dg-error "10:declaration" }
// { dg-error "expected|template" "" { target *-*-* } .-1 }
void
bar
()
{
foo
();
// { dg-error "no matching function" }
}