summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/jaeger/bug583672.js
blob: 6280fa470e309c63c598f92842ef3c7ee47bc783 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
(function () {
    function f()
    {
        this.y = w
        this.y = (void 0)
        Object
    }
    for (a in [0, 0, 0, 0])
    {
        new f
    }
    var w = {}
})()

/* Make sure that MICs don't have the same bug. */
x = Object();
(function () {
    function f()
    {
        x = w
        x = (void 0)
        Object
    }
    for (a in [0, 0, 0, 0])
    {
        new f
    }
    var w = {}
})()
/* Don't assert. */