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
FSF GCC merge 02/23/03
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
template8.C
blob
586fb61a02e6e18318e9a408f487a6aaa8e11480
1
// PRMS Id: 4827
2
// Build don't link:
3
4
class A;
5
template <class T> int f (const T&, const A *);
6
7
int g (const int& a)
8
{
9
return f (a, (A *)0); // gets bogus error - failed unification
10
}