summaryrefslogtreecommitdiff
path: root/tests/011-define-func-empty.c
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2010-05-13 09:34:21 -0700
committerCarl Worth <cworth@cworth.org>2010-05-13 09:35:50 -0700
commit4abc3dec720933e78a266417cffb2ea7b16d497f (patch)
tree079b6c70c292fe43d7414277226250b26f630131 /tests/011-define-func-empty.c
parent9f62a7e9e25efd79ebf46c64166876436f88f08a (diff)
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.
Diffstat (limited to 'tests/011-define-func-empty.c')
-rw-r--r--tests/011-define-func-empty.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/011-define-func-empty.c b/tests/011-define-func-empty.c
new file mode 100644
index 0000000000..d9ce13c228
--- /dev/null
+++ b/tests/011-define-func-empty.c
@@ -0,0 +1,2 @@
+#define foo()
+foo()