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
Merged with mainline at revision 128810.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
operator10.C
blob
b17f49fa9f70e8a36d4ec8b43350b7334377f456
1
// PR c++/30535
2
3
struct A {};
4
5
template<A, typename T> int operator-(A, T); // { dg-error "not a valid type" }
6
7
int i = A() - 0; // { dg-error "no match" }