summaryrefslogtreecommitdiffstats
path: root/extra/scripts/unifdef.test
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-12-28 12:06:15 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-12-28 12:06:15 +0000
commita5ed82b5f226456bc5dd86b4ee36e4175b4abe2a (patch)
treeab36dca677ec3929d67d394268b64230a291eea5 /extra/scripts/unifdef.test
parent22d8673e3527a23ef829d2afa56364a5493054c9 (diff)
downloaduClibc-alpine-a5ed82b5f226456bc5dd86b4ee36e4175b4abe2a.tar.bz2
uClibc-alpine-a5ed82b5f226456bc5dd86b4ee36e4175b4abe2a.tar.xz
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