diff options
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 |