summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/auto-regress/bug600128.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit-test/tests/auto-regress/bug600128.js')
-rw-r--r--js/src/jit-test/tests/auto-regress/bug600128.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/auto-regress/bug600128.js b/js/src/jit-test/tests/auto-regress/bug600128.js
new file mode 100644
index 000000000..490553213
--- /dev/null
+++ b/js/src/jit-test/tests/auto-regress/bug600128.js
@@ -0,0 +1,10 @@
+// Binary: cache/js-dbg-64-54700fad8cf9-linux
+// Flags: -j
+//
+this.__defineSetter__("x", Object.freeze)
+x = this;
+for (let z = 0; z < 5; z++) {
+ for each(let y in [0, 0, 0]) {
+ print(u = "")
+ }
+}