Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Time to Test Your Compiler

Name: Anonymous 2014-04-30 9:59

void foo() {}
void bar() {}
void main() {
if ((void*)foo < (void*)bar) {
printf("sound compiler! preserves ordering.\n");
} else {
printf("your gaypiler sucks balls and doesn't respect memory layout\n");
}
}

Name: Anonymous 2014-05-01 6:10

>>6
Too bad da standard doesn't permit you to assume 0 for success and 1 for failure. Does anyone know of a platform where this isn't the case? (Non-hosted environments where returning from main crashes your program don't count.)

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List