aboutsummaryrefslogtreecommitdiff
path: root/test/input/reduce/diff_error.reduced.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/input/reduce/diff_error.reduced.js')
-rw-r--r--test/input/reduce/diff_error.reduced.js17
1 files changed, 6 insertions, 11 deletions
diff --git a/test/input/reduce/diff_error.reduced.js b/test/input/reduce/diff_error.reduced.js
index a76e3d94..3002460b 100644
--- a/test/input/reduce/diff_error.reduced.js
+++ b/test/input/reduce/diff_error.reduced.js
@@ -1,19 +1,14 @@
// (beautified)
-(function f(a) {
- do {
- console.log(f.length);
- } while (console.log(f += 0));
-})();
-// output: 1
-// function(){}0
+console.log(function() {
+ return 1 + .1 + .1;
+}());
+// output: 1.2000000000000002
//
-// minify: 0
-// function(){}0
+// minify: 1.2
//
// options: {
// "compress": {
-// "keep_fargs": false,
-// "unsafe": true
+// "unsafe_math": true
// },
// "mangle": false
// } \ No newline at end of file