~ubuntu-branches/ubuntu/vivid/mozjs24/vivid

« back to all changes in this revision

Viewing changes to js/src/tests/js1_8_5/regress/regress-553778.js

  • Committer: Package Import Robot
  • Author(s): Tim Lunn
  • Date: 2014-02-11 21:55:34 UTC
  • Revision ID: package-import@ubuntu.com-20140211215534-m1zyq5aj59md3y07
Tags: upstream-24.2.0
ImportĀ upstreamĀ versionĀ 24.2.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * This should compile without triggering the following assertion:
 
3
 * 
 
4
 * Assertion failure: cg->fun->u.i.skipmin <= skip, at ../jsemit.cpp:2346
 
5
 */
 
6
 
 
7
function f() {
 
8
    function g() {
 
9
        function h() {
 
10
            g; x;
 
11
        }
 
12
        var [x] = [];
 
13
    }
 
14
}
 
15
 
 
16
reportCompare(true, true);