diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/preprocess-macro-vararg.c | 2 | ||||
-rw-r--r-- | test/preprocess-macro-vararg.pp | 1 |
2 files changed, 3 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) diff --git a/test/preprocess-macro-vararg.pp b/test/preprocess-macro-vararg.pp new file mode 100644 index 0000000..7dfca22 --- /dev/null +++ b/test/preprocess-macro-vararg.pp @@ -0,0 +1 @@ +1, (2, 3), 4 + abc, "1, (2, 3), 4" |