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

// Binary: cache/js-dbg-32-47a8311cf0bb-linux
// Flags:
//
x = /x/
Function("Object.defineProperty(x,new AttributeName,({e:true,enumerable:true}))")()
{
  throw (Object.keys)(x, /x/)
}