#define foo(x) ((x) / 7 + 8) void foo() { } int main() { }
Standard input is empty
prog.cpp:1:19: error: expected unqualified-id before ‘)’ token #define foo(x) ((x) / 7 + 8) ^ prog.cpp:3:6: note: in expansion of macro ‘foo’ void foo() { ^~~ prog.cpp:1:21: error: expected ‘)’ before ‘/’ token #define foo(x) ((x) / 7 + 8) ^ prog.cpp:3:6: note: in expansion of macro ‘foo’ void foo() { ^~~
Standard output is empty