summary refs log tree commit diff stats
path: root/tinyc/tests/pp/05.c
diff options
context:
space:
mode:
Diffstat (limited to 'tinyc/tests/pp/05.c')
-rw-r--r--tinyc/tests/pp/05.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/tinyc/tests/pp/05.c b/tinyc/tests/pp/05.c
new file mode 100644
index 000000000..72749416c
--- /dev/null
+++ b/tinyc/tests/pp/05.c
@@ -0,0 +1,7 @@
+#define t(x,y,z) x ## y ## z
+#define xxx(s) int s[] = { t(1,2,3), t(,4,5), t(6,,7), t(8,9,), \
+        t(10,,), t(,11,), t(,,12), t(,,) };
+
+int j[] = { t(1,2,3), t(,4,5), t(6,,7), t(8,9,),
+	t(10,,), t(,11,), t(,,12), t(,,) };
+xxx(j)