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
2014-01-30 Alangi Derick <alangiderick@gmail.com>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
crash92.C
blob
1153ef61934faa3d26165c5ef0d59ea47c177976
1
// PR c++/42055
2
3
template<typename T> void foo(T, T); // { dg-message "candidates|template" }
4
5
template<typename T> void foo(T, int); // { dg-message "template" }
6
7
template void foo(int, int); // { dg-error "ambiguous template specialization" }