fork download
  1. template<class T>
  2. void foo()
  3. {
  4. M
  5. }
  6.  
  7. int main(){}
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
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
stdout
Standard output is empty