summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug605015.js
blob: a35f7b6c7d9dd78ab6b9a463916f77c2fdbc4d19 (plain)
1
2
3
4
5
6
7
8
9
// |jit-test| error: TypeError 
// don't assert

print(this.watch("x",
function() {
  Object.defineProperty(this, "x", ({
    get: (Int8Array)
  }))
}))(x = /x/)