summaryrefslogtreecommitdiff
path: root/05/tcc-0.9.27/tests/pp/05.c
diff options
context:
space:
mode:
Diffstat (limited to '05/tcc-0.9.27/tests/pp/05.c')
-rw-r--r--05/tcc-0.9.27/tests/pp/05.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/05/tcc-0.9.27/tests/pp/05.c b/05/tcc-0.9.27/tests/pp/05.c
new file mode 100644
index 0000000..7274941
--- /dev/null
+++ b/05/tcc-0.9.27/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)