summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/auto-regress/bug568275.js
blob: df16a0d5395b8d4ff188cff3d810b92d516f27dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Binary: cache/js-dbg-32-9ca0a738a8ad-linux
// Flags:
//
x = ({
    x: /x/
})
x.p = []
Object.defineProperty(x, "x", {
    writable: ""
})
for (b in [[], null, [undefined]]) {
    function f(a) {
        delete a.x
        a.x = Infinity
    }
    for each(z in [x]) {
        f(z)
    }
}