aboutsummaryrefslogtreecommitdiff
path: root/test/compress/conditionals.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/compress/conditionals.js')
-rw-r--r--test/compress/conditionals.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/compress/conditionals.js b/test/compress/conditionals.js
index 9af1630a..e5a39229 100644
--- a/test/compress/conditionals.js
+++ b/test/compress/conditionals.js
@@ -53,6 +53,7 @@ ifs_3_should_warn: {
booleans : true
};
input: {
+ var x, y;
if (x && !(x + "1") && y) { // 1
var qq;
foo();
@@ -68,6 +69,7 @@ ifs_3_should_warn: {
}
}
expect: {
+ var x, y;
var qq; bar(); // 1
var jj; foo(); // 2
}