aboutsummaryrefslogtreecommitdiff
path: root/test/preprocess-macro-vararg.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/preprocess-macro-vararg.c')
-rw-r--r--test/preprocess-macro-vararg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/preprocess-macro-vararg.c b/test/preprocess-macro-vararg.c
new file mode 100644
index 0000000..8abdfe8
--- /dev/null
+++ b/test/preprocess-macro-vararg.c
@@ -0,0 +1,2 @@
+#define f(a, ...) __VA_ARGS__ + a, # __VA_ARGS__
+f(abc, 1, (2, 3), 4)