js/src/jit-test/tests/auto-regress/bug661840.js

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/js/src/jit-test/tests/auto-regress/bug661840.js	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,39 @@
     1.4 +// |jit-test| error:ReferenceError
     1.5 +
     1.6 +// Binary: cache/js-dbg-32-11714be33655-linux
     1.7 +// Flags: -m -n
     1.8 +//
     1.9 +function f(a) {}
    1.10 +s = [{
    1.11 +  s: [],
    1.12 +  s: function(d, b) {},
    1.13 +  t: function() {
    1.14 +    try {} catch (e) {}
    1.15 +  }
    1.16 +}, {
    1.17 +  t: "",
    1.18 +  s: [],
    1.19 +  s: function(d, b) {}
    1.20 +}, {
    1.21 +  t: "",
    1.22 +  s: [],
    1.23 +  s: function(d, b) {},
    1.24 +  t: function() {}
    1.25 +}, {
    1.26 +  t: "",
    1.27 +  x: "",
    1.28 +  s: [],
    1.29 +  g: function(b) {},
    1.30 +  t: function(f) {}
    1.31 +}, {
    1.32 +  t: "",
    1.33 +  s: [],
    1.34 +  s: function() {}
    1.35 +}];
    1.36 +v = 0
    1.37 +Function("gc(evalcx('lazy'))")();
    1.38 +gczeal();
    1.39 +gc();
    1.40 +(function() {
    1.41 +  x
    1.42 +})()

mercurial