#define FOO(x) { x; } int f(int a) { if(a > 10) FOO(return 42); else return 10;} int main() { f(11);}
Standard input is empty
prog.cpp: In function 'int f(int)': prog.cpp:6:6: error: 'else' without a previous 'if'
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!