1 2 3 4 5 6 7 8 9 10
int main(void) { #if 1 #pragma GCC warning "This code won't compile" #define FOO 1 #line 7 #error #endif return 0; }