summaryrefslogtreecommitdiffstats
path: root/js/src/tests/js1_8_5/regress/regress-553778.js
blob: 797165e54773a863b062fac9d45891dcf2eb0e78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*
 * This should compile without triggering the following assertion:
 * 
 * Assertion failure: cg->fun->u.i.skipmin <= skip, at ../jsemit.cpp:2346
 */

function f() {
    function g() {
        function h() {
            g; x;
        }
        var [x] = [];
    }
}

reportCompare(true, true);