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
/
explicit-args3.C
blob
5e16c21b3fd48fa0a5b40ff2e546b9421a89f844
1
// PR c++/37177
2
3
template <class T>
4
struct A { };
5
6
template <class T>
7
void operator+(T, T); // { dg-error "6:.void operator\\+\\(T, T\\) \\\[with T = int\\\]. must have an argument of class or enumerated type" }
8
9
int main()
10
{
11
operator+<int>; // { dg-error "cannot resolve" }
12
}