aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/preprocess-macro-function-no-args.c2
-rw-r--r--test/preprocess-macro-function-no-args.pp1
2 files changed, 3 insertions, 0 deletions
diff --git a/test/preprocess-macro-function-no-args.c b/test/preprocess-macro-function-no-args.c
new file mode 100644
index 0000000..6b734d5
--- /dev/null
+++ b/test/preprocess-macro-function-no-args.c
@@ -0,0 +1,2 @@
+#define f(x) x - 2
+f()
diff --git a/test/preprocess-macro-function-no-args.pp b/test/preprocess-macro-function-no-args.pp
new file mode 100644
index 0000000..c19ef04
--- /dev/null
+++ b/test/preprocess-macro-function-no-args.pp
@@ -0,0 +1 @@
+ - 2