fork(1) download
  1. int my_type = 0;
  2.  
  3. void foo(my_type* p);
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp:3:10: error: variable or field ‘foo’ declared void
 void foo(my_type* p);
          ^~~~~~~
prog.cpp:3:19: error: ‘p’ was not declared in this scope
 void foo(my_type* p);
                   ^
stdout
Standard output is empty