diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-12-28 12:06:04 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-12-28 12:06:04 +0000 |
commit | de87f81d41ef95772db9e0616e6ae31f5894eda7 (patch) | |
tree | b119961373a3f7d2b14bba5305bbbc204c14fc14 /extra/scripts/unifdef.test | |
parent | 08479acdf9aa708ee5edcca77cdb9cf0cdaaa866 (diff) |
fix another corner case in unifdef
Diffstat (limited to 'extra/scripts/unifdef.test')
-rw-r--r-- | extra/scripts/unifdef.test | 6 |
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 |