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
Update ChangeLogs and version numbers for 2.95.3 release
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
overload4.C
blob
f4e58e27fc7e20140bddb517a27e780ca7709c96
1
// Build don't link:
2
3
template <class T> void foo(T);
4
5
template <class T> void bar(void (*)(T), T);
6
7
void baz() {
8
bar<int>(foo, 1);
9
bar(foo<int>, 1);
10
bar<int>(foo<int>, 1);
11
bar(foo, 1);
12
}