summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2010-05-27 14:01:18 -0700
committerCarl Worth <cworth@cworth.org>2010-05-27 14:01:18 -0700
commit85b50e840d969c4d9ebcfcc3df1df7a95e07e34e (patch)
tree736074806acbf49198617c341187694aa320b607 /tests
parenta19297b26e971e5a9dbe00b4254931505da4b5a9 (diff)
Add placeholder tokens to support pasting with empty arguments.
Along with a passing test to verify that this works.
Diffstat (limited to 'tests')
-rw-r--r--tests/058-token-pasting-empty-arguments.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/058-token-pasting-empty-arguments.c b/tests/058-token-pasting-empty-arguments.c
new file mode 100644
index 0000000000..8ac260c76b
--- /dev/null
+++ b/tests/058-token-pasting-empty-arguments.c
@@ -0,0 +1,5 @@
+#define paste(x,y) x ## y
+paste(a,b)
+paste(a,)
+paste(,b)
+paste(,)