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
Update ChangeLog and version files for release
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
operator10.C
blob
448b022905fc109bc43617f8cd032ce8cb1d72ed
1
// PR c++/30535
2
// { dg-prune-output "note" }
3
4
struct A {};
5
6
template<A, typename T> int operator-(A, T); // { dg-error "not a valid type" }
7
8
int i = A() - 0; // { dg-error "no match" }