js/src/tests/js1_8_5/regress/regress-553778.js

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/js/src/tests/js1_8_5/regress/regress-553778.js	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,16 @@
     1.4 +/*
     1.5 + * This should compile without triggering the following assertion:
     1.6 + * 
     1.7 + * Assertion failure: cg->fun->u.i.skipmin <= skip, at ../jsemit.cpp:2346
     1.8 + */
     1.9 +
    1.10 +function f() {
    1.11 +    function g() {
    1.12 +        function h() {
    1.13 +            g; x;
    1.14 +        }
    1.15 +        var [x] = [];
    1.16 +    }
    1.17 +}
    1.18 +
    1.19 +reportCompare(true, true);

mercurial