summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/auto-regress/bug713944.js
blob: 36377b2f2a5458148f5c09258afd52a4180e3246 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Binary: cache/js-dbg-64-7e28cce342a6-linux
// Flags:
//
function f() {
    constructor = {}
}
Object.defineProperty(function() {
    return {}.__proto__
}(), "constructor", {
    set: function() {}
})
f()
Object.defineProperty({}.__proto__, "constructor", {
    value: 3
})
f()