Add tests for the structure of function-like macros.
These test only the most basic aspect of parsing of function-like macros. Specifically, none of the definitions of these function like macros use the arguments of the function. No function-like macros are implemented yet, so all of these fail for now.
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
#define foo()
|
||||
foo()
|
||||
@@ -0,0 +1,2 @@
|
||||
#define foo() bar
|
||||
foo()
|
||||
@@ -0,0 +1,2 @@
|
||||
#define foo(x) 1
|
||||
foo(bar)
|
||||
@@ -0,0 +1,2 @@
|
||||
#define foo(x,y) 1
|
||||
foo(bar,baz)
|
||||
Reference in New Issue
Block a user