prog.cpp: In function ‘int main()’:
prog.cpp:12:19: error: no matching function for call to ‘myFunc(short int&, int&, long int&)’
prog.cpp:12:19: note: candidate is:
prog.cpp:2:6: note: template<class T> void myFunc(T, T, T)
prog.cpp:2:6: note: template argument deduction/substitution failed:
prog.cpp:12:19: note: deduced conflicting types for parameter ‘T’ (‘short int’ and ‘int’)