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

// Binary: cache/js-dbg-64-b7d269a291b6-linux
// Flags: -m -n -a
//

function Integer(value, exception) {
    try {} catch (e) {}
    new(value = this)(this.value);
    Math.floor(({})[value.Math, this].abstract)
}
new Integer(3, false);