Skip to content
Snippets Groups Projects
Commit 51639387 authored by Rui Ueyama's avatar Rui Ueyama
Browse files

Allow empty macro arguments

parent f2397d05
Branches
No related merge requests found
......@@ -213,6 +213,9 @@ int main() {
#define M8(x,y) (x)*(y)
assert(63, M8(3+4, 4+5), "M8(3+4, 4+5)");
#define M8(x,y) x y
assert(9, M8(, 4+5), "M8(, 4+5)");
printf("OK\n");
return 0;
}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment