summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/auto-regress/bug653395.js
blob: 8d5ef331686bd6cf05598600456f08d0100bb064 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// |jit-test| error:TypeError

// Binary: cache/js-dbg-64-09cce9915b80-linux
// Flags: -m -n
//
try {
    (function () {
        __proto__ = new Uint32Array()
    }())
} catch (e) {}(function () {
})()
eval("\
function testAtomize() {\
    x = {};\
    for (var i = false ; i < 65536; ++i)\
        x[String.fromCharCode(i)] = 1;\
}\
new testAtomize()(testAtomize(), 65536);\
");