Skip to content

Commit 4cd7df4

Browse files
vouillonhhugo
authored andcommitted
Global dead code: regression test for bug fixed in #1681 (once fixed)
1 parent ebc6c4c commit 4cd7df4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/tests-compiler/global_deadcode.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,6 @@ let%expect_test "Bug fix in PR #1681" =
153153
(* No field of record x should be eliminated. *)
154154
[%expect
155155
{|
156-
function f(b){var x = [0, 1]; return b ? x : (x[1] = 1, [0, 3, 4]);}
156+
function f(b){var x = [0, 1, 2]; return b ? x : (x[1] = 1, [0, 3, 4]);}
157157
//end
158158
|}]

0 commit comments

Comments
 (0)