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
2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
overload5.C
blob
1bb2d448f988cabbb5999dbb9ce7fbd9cfe92e0a
1
// { dg-do assemble }
2
3
template <class T> void foo(); // { dg-error "" } candidate
4
5
void (*bar)() = foo<void>;
6
void (*baz)() = foo; // { dg-error "" } can't deduce T