summaryrefslogtreecommitdiff
path: root/tests/pp/05.c
diff options
context:
space:
mode:
authorThomas Preud'homme <robotux@debian.org>2018-02-23 23:39:54 +0000
committerThomas Preud'homme <robotux@debian.org>2018-02-23 23:39:54 +0000
commit6ff03085ca236f6748959826728c986600fa66bd (patch)
treefc30b3b3fe20cc005634818512dab3514acf8ef4 /tests/pp/05.c
Import tcc_0.9.27.orig.tar.bz2
[dgit import orig tcc_0.9.27.orig.tar.bz2]
Diffstat (limited to 'tests/pp/05.c')
-rw-r--r--tests/pp/05.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/pp/05.c b/tests/pp/05.c
new file mode 100644
index 0000000..7274941
--- /dev/null
+++ b/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)