summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/pic/bug558099.js
blob: 5d8c68fa590cfd2303c429dfe0df3932dd2a100d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
(function()[function() function() function() function() function() function() {}]);
foo = [{
  text: "(function(){if(d){(1)}})",
  s: function() {},
  test: function() {
    try {
      f
    } catch(e) {}
  }
},
{
  text: "(function(){t})",
  s: function() {},
  test: function() {}
},
{
  text: "(function(){if(0){}})",
  s: function() {},
  test: function() {}
},
{
  text: "(function(){if(1){}(2)})",
  s: function() {},
  test: function() {}
},
{
  text: "(function(){g})",
  b: function() {},
  test: function() {}
},
{
  text: "(function(){})",
  s: function() {},
  test: function() {}
},
{
  text: "(function(){1})",
  s: function() {},
  test: function() {}
}]; (function() {
  for (i = 0; i < foo.length; ++i) {
    a = foo[i]
    text = a.text
    eval(text.replace(/@/, ""));
    if (a.test()) {}
  }
} ());
s = [function() function() function() function() function() function() {}]
[function() function() function() function() {}];
(function() { [function() function() {}] });
(function() {});
(eval("\
  (function(){\
    for each(d in[\
      0,0,0,0,0,0,0,0,0,0,0,0,0,null,NaN,1,Boolean(false),Boolean(false)\
    ]){\
      [].filter(new Function,gczeal(2))\
    }\
  })\
"))();