prog.cpp: In function ‘bool foo_negative(T&)’:
prog.cpp:12: error: parse error in template argument list
prog.cpp: In function ‘bool foo_negative(T&) [with T = X]’:
prog.cpp:24: instantiated from here
prog.cpp:12: error: ‘foo’ is not a member template function