fork download
  1. int main(){
  2. void hoge(int n){}
  3. return 0;
  4. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp: In function ‘int main()’:
prog.cpp:2: error: a function-definition is not allowed here before ‘{’ token
stdout
Standard output is empty