fork(1) download
  1. #include <iostream>
  2.  
  3. typedef void unused_t;
  4.  
  5. int main() {
  6. int i;
  7. void* p;
  8. (unused)i;
  9. p = &i;
  10. return 0;
  11. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp: In function ‘int main()’:
prog.cpp:8:3: error: ‘unused’ was not declared in this scope
  (unused)i;
   ^
prog.cpp:8:10: error: expected ‘;’ before ‘i’
  (unused)i;
          ^
stdout
Standard output is empty