#define foo 123 void foo() {} int main() {}
Standard input is empty
prog.cpp:1:13: error: expected unqualified-id before numeric constant #define foo 123 ^ prog.cpp:3:6: note: in expansion of macro ‘foo’ void foo() { ^~~
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!