blob: 9f6da97c77131a0e45436c76a3511d95e6c879c8 [file] [log] [blame]
// Build don't link:
template<class K>
struct A {
int foo(const K&);
int bar(const K&);
};
template<class K>
int
A<K>::bar(const K& k)
{
return(foo(k));
}
template<>
int
A<const char*>::foo(const char*const& k)
{
return((int)k);
}