summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/TypedObject/Bug981650.js
blob: 49a04409162cc0aafa71fada867b82b679fee00d (plain)
1
2
3
4
5
6
7
8
9
// Fuzz bug 981650: Test creating an array type based on an instance of
// that same type.

if (typeof TypedObject === "undefined")
  quit();

var T = TypedObject;
var v = new T.ArrayType(T.int32, 10);
new v(v);