summaryrefslogtreecommitdiff
path: root/deps/v8/test/mjsunit/regress/regress-keyed-store-global.js
blob: 1b127776d6c3635bbf6e57b2256319288b8f411c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// 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 --verify-heap
function f(a) {
  for (var i = 0; i < 256; i++) a[i] = i;
}

f([]);
f([]);
f(this);