summaryrefslogtreecommitdiffstats
path: root/js/src/tests/ecma_7/SIMD/bug1023145.js
blob: 45f44afb5a61bbb4290df0b3213ab88cfff3fad6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// |reftest| skip-if(!this.hasOwnProperty("SIMD"))

/*
 * Any copyright is dedicated to the Public Domain.
 * http://creativecommons.org/licenses/publicdomain/
 */

delete Object.prototype.__proto__;
var Int32x4 = SIMD.Int32x4;
var ar = Int32x4.array(1);
var array = new ar([Int32x4(1, 2, 3, 4)]);

if (typeof reportCompare === "function")
    reportCompare(true, true);