fork download
  1. #define SMTH(x) x+y
  2.  
  3. int main()
  4. {
  5. SMTH(7);
  6. return 0;
  7. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp: In function ‘int main()’:
prog.cpp:1:19: error: ‘y’ was not declared in this scope
 #define SMTH(x) x+y
                   ^
prog.cpp:5:2: note: in expansion of macro ‘SMTH’
  SMTH(7);
  ^~~~
stdout
Standard output is empty