summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/019-define-func-1-arg-multi.c2
-rw-r--r--tests/020-define-func-2-arg-multi.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/019-define-func-1-arg-multi.c b/tests/019-define-func-1-arg-multi.c
new file mode 100644
index 0000000000..c4e62b2550
--- /dev/null
+++ b/tests/019-define-func-1-arg-multi.c
@@ -0,0 +1,2 @@
+#define foo(x) (x)
+foo(this is more than one word)
diff --git a/tests/020-define-func-2-arg-multi.c b/tests/020-define-func-2-arg-multi.c
new file mode 100644
index 0000000000..253421139d
--- /dev/null
+++ b/tests/020-define-func-2-arg-multi.c
@@ -0,0 +1,2 @@
+#define foo(x,y) x, two fish, red fish, y
+foo(one fish, blue fish)