summaryrefslogtreecommitdiff
path: root/extra/scripts/unifdef.test
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-12-28 12:06:04 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-12-28 12:06:04 +0000
commitde87f81d41ef95772db9e0616e6ae31f5894eda7 (patch)
treeb119961373a3f7d2b14bba5305bbbc204c14fc14 /extra/scripts/unifdef.test
parent08479acdf9aa708ee5edcca77cdb9cf0cdaaa866 (diff)
fix another corner case in unifdef
Diffstat (limited to 'extra/scripts/unifdef.test')
-rw-r--r--extra/scripts/unifdef.test6
1 files changed, 6 insertions, 0 deletions
diff --git a/extra/scripts/unifdef.test b/extra/scripts/unifdef.test
index 7cd4f148e..5ba4e48df 100644
--- a/extra/scripts/unifdef.test
+++ b/extra/scripts/unifdef.test
@@ -24,6 +24,12 @@ hello world
#if (1 > 0) && defined A
hello world
#endif
+#if defined A && (defined FOO || defined BAR)
+hello world
+#endif
+#if (defined FOO || defined BAR) && defined A
+hello world
+#endif
*** Everything should be visible here, but #if/#endif removed:
#if defined B || !defined A