OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
PR c++/9335
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
explicit-args3.C
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
}