Add tests exercising substitution of arguments in function-like macros.
This capability is the only thing that makes function-like macros interesting. This isn't supported yet so these tests fail for now.
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
#define foo(x) ((x) + 1)
|
||||
foo(bar)
|
||||
@@ -0,0 +1,2 @@
|
||||
#define foo(x,y) ((x)*(y))
|
||||
foo(bar,baz)
|
||||
Reference in New Issue
Block a user