summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/setgname-reconfigured.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit-test/tests/ion/setgname-reconfigured.js')
-rw-r--r--js/src/jit-test/tests/ion/setgname-reconfigured.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/ion/setgname-reconfigured.js b/js/src/jit-test/tests/ion/setgname-reconfigured.js
new file mode 100644
index 0000000000..69a125b9c6
--- /dev/null
+++ b/js/src/jit-test/tests/ion/setgname-reconfigured.js
@@ -0,0 +1,6 @@
+for (p in this) {
+ delete p;
+}
+for (p in this) {}
+evaluate("for(var i=0; i<50; i++) p = 1");
+assertEq(p, 1);