template<class T>void foo(){ M} int main(){}
Standard input is empty
prog.cpp: In function 'void foo()': prog.cpp:4:5: error: 'M' was not declared in this scope prog.cpp:5:1: error: expected ';' before '}' token
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!