Index: test/mjsunit/regress/regress-411210.js |
diff --git a/test/mjsunit/regress/regress-411210.js b/test/mjsunit/regress/regress-411210.js |
new file mode 100644 |
index 0000000000000000000000000000000000000000..bb9d3a5fd7bb3aa8aa79ef91ec0fadb528f2aec1 |
--- /dev/null |
+++ b/test/mjsunit/regress/regress-411210.js |
@@ -0,0 +1,18 @@ |
+// Copyright 2014 the V8 project authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+// Flags: --allow-natives-syntax --gc-interval=439 --random-seed=-423594851 |
+ |
+var __v_3; |
+function __f_2() { |
+ var __v_1 = new Array(3); |
+ __v_1[0] = 10; |
+ __v_1[1] = 15.5; |
+ __v_3 = __f_2(); |
+ __v_1[2] = 20; |
+ return __v_1; |
+} |
+for (var __v_2 = 0; __v_2 < 3; ++__v_2) { |
+ __v_3 = __f_2(); |
+} |