aboutsummaryrefslogtreecommitdiff
path: root/test/compress/numbers.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/compress/numbers.js')
-rw-r--r--test/compress/numbers.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/compress/numbers.js b/test/compress/numbers.js
index 7f355a12..c7aab685 100644
--- a/test/compress/numbers.js
+++ b/test/compress/numbers.js
@@ -1322,3 +1322,16 @@ issue_4137: {
}
expect_stdout: "0"
}
+
+issue_4142: {
+ options = {
+ evaluate: true,
+ }
+ input: {
+ console.log("" + +(0 === console));
+ }
+ expect: {
+ console.log("" + +(0 === console));
+ }
+ expect_stdout: "0"
+}