aboutsummaryrefslogtreecommitdiff
path: root/test/compress/comparisons.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/compress/comparisons.js')
-rw-r--r--test/compress/comparisons.js17
1 files changed, 17 insertions, 0 deletions
diff --git a/test/compress/comparisons.js b/test/compress/comparisons.js
index ef0db00c..461f415c 100644
--- a/test/compress/comparisons.js
+++ b/test/compress/comparisons.js
@@ -380,3 +380,20 @@ unsafe_indexOf: {
}
expect_stdout: "PASS"
}
+
+issue_3413: {
+ options = {
+ comparisons: true,
+ evaluate: true,
+ side_effects: true,
+ }
+ input: {
+ var b;
+ void 0 !== ("" < b || void 0) || console.log("PASS");
+ }
+ expect: {
+ var b;
+ void 0 !== ("" < b || void 0) || console.log("PASS");
+ }
+ expect_stdout: "PASS"
+}