summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/auto-regress/bug1335623.js
blob: 8d729f7fe707edf9a86aaedc9ca8fcfbd4f0a0c3 (plain)
1
2
3
4
5
6
7
8
9
// jsfunfuzz-generated
x = [];
// Adapted from randomly chosen test: js/src/tests/ecma_5/String/match-defines-match-elements.js
y = Object.defineProperty(Array.prototype, 1, {
    set: function () {}
});
// jsfunfuzz-generated
x.splice(0, 1, y, y);
new Float64Array(x);