#define SMTH(x) x+y int main() { SMTH(7); return 0; }
Standard input is empty
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);
^~~~
Standard output is empty