aboutsummaryrefslogtreecommitdiff
path: root/tinycc/tests/pp/05.c
diff options
context:
space:
mode:
authorUneven Prankster <unevenprankster@protonmail.com>2023-07-12 13:22:29 -0300
committerUneven Prankster <unevenprankster@protonmail.com>2023-07-12 13:22:29 -0300
commitfa2bdd711212ba6b7a94a20971e8bfa281e73296 (patch)
tree6713b3c0379507d49558287b71dd360ce188a2f0 /tinycc/tests/pp/05.c
lol
Diffstat (limited to 'tinycc/tests/pp/05.c')
-rw-r--r--tinycc/tests/pp/05.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/tinycc/tests/pp/05.c b/tinycc/tests/pp/05.c
new file mode 100644
index 0000000..7274941
--- /dev/null
+++ b/tinycc/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)