aboutsummaryrefslogtreecommitdiff
path: root/tinycc/tests/pp/22.c
diff options
context:
space:
mode:
Diffstat (limited to 'tinycc/tests/pp/22.c')
-rw-r--r--tinycc/tests/pp/22.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/tinycc/tests/pp/22.c b/tinycc/tests/pp/22.c
new file mode 100644
index 0000000..76e2315
--- /dev/null
+++ b/tinycc/tests/pp/22.c
@@ -0,0 +1,12 @@
+#define TRACE(a,b,c) X a X b X c X
+#define rettrue(x) 1
+A rettrue(bla) B
+TRACE(
+ ARG_1,
+#if rettrue(bla)
+ ARG_2,
+#else
+ ARG_2_wrong,
+#endif
+ ARG_3
+);