blob: 434dcc22e92eaa6a6ea70aace00c5d5b1fe1132f [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((__SIZE_TYPE__)k);
}