summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/auto-regress/bug648739.js
blob: f270f882bdd92936deedb2e02c7160b65a094f27 (plain)
1
2
3
4
5
6
7
8
9
10
// |jit-test| error:TypeError

// Binary: cache/js-dbg-64-6c8becdd1574-linux
// Flags:
//
(function () {
    [] = x = /x/;
    x.toString = Function.prototype.bind;
    print(x)
})()