exit.c (344B)
1 /* Exit-code smoke: no #include, no libc calls — just a return value. Exercises 2 * the toolchain (compile + link + crt) and the platform's exit-code path end to 3 * end, and on freestanding the bare-metal exit oracle. Distinct from hello.c, 4 * which additionally exercises the sysroot headers + libc (stdout). */ 5 int main(void) { return 42; }