summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/auto-regress/bug521169.js
blob: 093e86c187112b6f2339c77ed8dd3380a01a69fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Binary: cache/js-dbg-64-c08baee44cf4-linux
// Flags: -j
//
try {
    with({
        x: (function f(a) {
            f(1)
        })()
    }) {}
} catch(e) {}
for each(x in ["", true]) {
    for (b = 0; b < 4; ++b) {
        if (b % 2 == 0) {
            (function () {})()
        } {
            gc()
        }
    }
}