blob: 2dbc5ff70c493c0c80b376d17ada55b6758bc409 [file] [log] [blame]
Ben Murdochb8a8cc12014-11-26 15:28:44 +00001// Copyright 2014 the V8 project authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5// Flags: --allow-natives-syntax --gc-interval=439 --random-seed=-423594851
6
7var __v_3;
8function __f_2() {
9 var __v_1 = new Array(3);
10 __v_1[0] = 10;
11 __v_1[1] = 15.5;
12 __v_3 = __f_2();
13 __v_1[2] = 20;
14 return __v_1;
15}
16
17try {
18 for (var __v_2 = 0; __v_2 < 3; ++__v_2) {
19 __v_3 = __f_2();
20 }
21}
22catch (e) { }