/in/foo.c:1:8: error: expected declaration specifiers or '...' before string constant
printf("A\n");
^~~~~
/in/foo.c:2:13: error: expected identifier or '(' before 'break'
break;
^~~~~
/in/foo.c:3:9: error: expected identifier or '(' before 'case'
case 7:
^~~~
/in/foo.c:5:13: error: expected identifier or '(' before 'break'
break;
^~~~~
/in/foo.c:6:9: error: expected identifier or '(' before 'case'
case 6:
^~~~
/in/foo.c:8:13: error: expected identifier or '(' before 'break'
break;
^~~~~
/in/foo.c:9:9: error: expected identifier or '(' before 'default'
default:
^~~~~~~
/in/foo.c:11:5: error: expected identifier or '(' before '}' token
}
^
/in/foo.c:13:5: error: expected identifier or '(' before 'return'
return 0;
^~~~~~
/in/foo.c:14:1: error: expected identifier or '(' before '}' token
}
^