blob: d4bb37aa410933b9c0be36294ebda8fd7d3c84a8 [file] [log] [blame]
// Build don't link:
// excess errors test
struct foo {
template<typename T> T bar() { return staticbar<T>( this ); }
template<typename T> static T staticbar( foo* ) { return 0; }
};
void f()
{
foo t;
int k = t.bar<int>();
}