repo.or.cz
/
official-gcc
/
graphite-test-results.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge from mainline (167278:168000).
[official-gcc/graphite-test-results.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
explicit-args3.C
blob
c095e6688fdcf764174bce40bfeaf71f8a794212
1
// PR c++/37177
2
3
template <class T>
4
struct A { };
5
6
template <class T>
7
void operator+(T, T); // { dg-error "class or enum" }
8
9
int main()
10
{
11
operator+<int>; // { dg-error "cannot resolve" }
12
}