fork(1) download
  1. int main(int argc, char **argv) {
  2. switch ('a') {
  3. case 'D':
  4. /* Uncommenting next line makes the thing compile with no errors or warnings... */
  5. /*;*/
  6. #ifdef _GNU_SOURCE
  7. size_t len = 491 * argc;
  8. #else
  9. char *namesep = (char *) (491 * sizeof(argc));
  10. #endif
  11. break;
  12. default:
  13. return 0;
  14. }
  15. }
Compilation error #stdin compilation error #stdout 0s 9288KB
stdin
Standard input is empty
compilation info
prog.c:9:3: error: expected expression
                char *namesep = (char *) (491 * sizeof(argc));
                ^
1 error generated.
stdout
Standard output is empty