Bug 880377 - Add tests. a=bajaj
authorNicholas D. Matsakis <nmatsakis@mozilla.com>
Fri, 12 Jul 2013 17:01:43 -0400
changeset 147933 218c4145c0667240c197f72b7a316c18d2d72a54
parent 147932 7255bae7b63563a843e2dba520a791133fcee37d
child 147934 602f5a2d621af44d9098e2d1e4caf75a1cfed915
push id2697
push userbbajaj@mozilla.com
push dateMon, 05 Aug 2013 18:49:53 +0000
treeherdermozilla-beta@dfec938c7b63 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbajaj
bugs880377
milestone24.0a2
Bug 880377 - Add tests. a=bajaj
js/src/jit-test/tests/basic/bug880377.js
new file mode 100644
--- /dev/null
+++ b/js/src/jit-test/tests/basic/bug880377.js
@@ -0,0 +1,10 @@
+var actual = '';
+var obj0 = {}
+obj2 = {};
+obj2['b'+1] = 1;
+if (actual[0] != 0[0])
+  throw new i();
+for (var k in obj2) {
+  for (var apply in obj0)
+    ++count;
+}
\ No newline at end of file