blob: 586fb61a02e6e18318e9a408f487a6aaa8e11480 (
plain)
1
2
3
4
5
6
7
8
9
10
|
// PRMS Id: 4827
// Build don't link:
class A;
template <class T> int f (const T&, const A *);
int g (const int& a)
{
return f (a, (A *)0); // gets bogus error - failed unification
}
|