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++/52685
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
crash92.C
1
// PR c++/42055
2
3
template<typename T> void foo(T, T); // { dg-error "candidates|template" }
4
5
template<typename T> void foo(T, int); // { dg-error "template" }
6
7
template void foo(int, int); // { dg-error "ambiguous template specialization" }