#include <stdio.h> void test(void) { } void main() { char buf[18]; __asm __emit 0xCC; test(); }
Standard input is empty
prog.c:8:6: warning: return type of 'main' is not 'int' [-Wmain] void main() ^ prog.c: In function 'main': prog.c:12:8: error: expected '(' before '__emit' __asm __emit 0xCC; ^ prog.c:12:8: error: '__emit' undeclared (first use in this function) prog.c:12:8: note: each undeclared identifier is reported only once for each function it appears in prog.c:12:15: error: expected ';' before numeric constant __asm __emit 0xCC; ^ prog.c:15:2: warning: implicit declaration of function 'gets' [-Wimplicit-function-declaration] gets(buf); ^
Standard output is empty