fork download
  1. #define foo 123
  2.  
  3. void foo() {
  4. }
  5.  
  6. int main() {
  7. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
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() {
      ^~~
stdout
Standard output is empty