summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/jaeger/closure-05.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit-test/tests/jaeger/closure-05.js')
-rw-r--r--js/src/jit-test/tests/jaeger/closure-05.js17
1 files changed, 17 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/jaeger/closure-05.js b/js/src/jit-test/tests/jaeger/closure-05.js
new file mode 100644
index 0000000000..b2aeffa365
--- /dev/null
+++ b/js/src/jit-test/tests/jaeger/closure-05.js
@@ -0,0 +1,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("");
+ }
+ }
+}