fork download
  1. struct id1 *p; /* ok */
  2. int func(struct id2* p); /* OUCH! */
  3.  
  4. int main() { return 0; }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
cc1: warnings being treated as errors
prog.c:2: error: ‘struct id2’ declared inside parameter list
prog.c:2: error: its scope is only this definition or declaration, which is probably not what you want
stdout
Standard output is empty