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:
Carl Worth
2010-05-13 12:54:17 -07:00
parent 48b94da099
commit af71ba41bd
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -0,0 +1,2 @@
#define foo(x) ((x) + 1)
foo(bar)
+2
View File
@@ -0,0 +1,2 @@
#define foo(x,y) ((x)*(y))
foo(bar,baz)