summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/TypedObject/fuzz11.js
blob: 0fe74582eef4d95dfbaeb907eb38700b59ed0124 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// |jit-test| error:Error

if (!this.hasOwnProperty("TypedObject"))
  throw new Error("type too large");

var A = TypedObject.uint8.array(2147483647);
var S = new TypedObject.StructType({a: A,
                                    b: A,
                                    c: A,
                                    d: A,
                                    e: A});
var aa = new S();
var aa0 = aa.a;