blob: 1bae2d06f5793c57913ea44ab4dc333d0f593c24 [file] [log] [blame]
Ben Murdoch097c5b22016-05-18 11:27:45 +01001// Copyright 2016 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
5var o = {__proto__:new Int32Array(100)};
6Object.prototype[1.3] = 10;
7assertEquals(undefined, o[1.3]);
8
9var o = new Int32Array(100);
10var o2 = new Int32Array(200);
11o.__proto__ = o2;
12assertEquals(undefined, Reflect.get(o, 1.3, o2));