js/src/jit-test/tests/closures/bug540136.js

Wed, 31 Dec 2014 13:27:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 13:27:57 +0100
branch
TOR_BUG_3246
changeset 6
8bccb770b82d
permissions
-rw-r--r--

Ignore runtime configuration files generated during quality assurance.

     1 // |jit-test| error: TypeError
     3 (eval("\
     4  (function () {\
     5    for (var[x] = function(){} in \
     6      (function m(a) {\
     7        if (a < 1) {\
     8          x;\
     9          return\
    10        }\
    11        return m(a - 1) + m(a - 2)\
    12      })(7)\
    13      (eval(\"\"))\
    14    )\
    15    ([])\
    16  })\
    17 "))()

mercurial