summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/jaeger/closure-05.js
blob: b2aeffa3650fe42a5dfc18f325769dfe64e1f66f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
var gTestcases = new Array();
var gTc = gTestcases.length;
function TestCase(n, d, e, a) {
  gTestcases[gTc++] = this;
}
new TestCase("SECTION", "with MyObject, eval should return square of ");
test();
function test() {
  for (gTc = 0; gTc < gTestcases.length; gTc++) {
    var MYOBJECT = (function isPrototypeOf(message) {
        delete input;
      })();
    with({}) {
      gTestcases[gTc].actual = eval("");
    }
  }
}