summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug1101576.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit-test/tests/ion/bug1101576.js')
-rw-r--r--js/src/jit-test/tests/ion/bug1101576.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/ion/bug1101576.js b/js/src/jit-test/tests/ion/bug1101576.js
new file mode 100644
index 0000000000..354d9c274d
--- /dev/null
+++ b/js/src/jit-test/tests/ion/bug1101576.js
@@ -0,0 +1,14 @@
+// Random chosen test: js/src/jit-test/tests/ion/bug928423.js
+o = {
+ a: 1,
+ b: 1
+}
+print(1);
+for (var x = 0; x < 2; x++) {
+ print(2);
+ o["a1".substr(0, 1)]
+ o["b1".substr(0, 1)]
+}
+print(3);
+// jsfunfuzz
+"a" + "b"