Index: test/mjsunit/regress/regress-581.js |
diff --git a/test/mjsunit/regress/regress-581.js b/test/mjsunit/regress/regress-581.js |
index 65cd87de010c06a91952c3a7c41a4e7ab46b914e..ab345a9b61e0a8d78a79180b9a7c978f22babcab 100644 |
--- a/test/mjsunit/regress/regress-581.js |
+++ b/test/mjsunit/regress/regress-581.js |
@@ -35,11 +35,13 @@ assertEquals(pow31 + 1, a.length); |
assertThrows(function() { a.concat(a); }, RangeError); |
var b = []; |
-b[pow31 - 2] = 32; |
+b[pow31 - 3] = 32; |
+b[pow31 - 2] = "out_of_bounds"; |
var ab = a.concat(b); |
assertEquals(2 * pow31 - 1, ab.length); |
assertEquals(31, ab[pow31]); |
-assertEquals(32, ab[2 * pow31 - 1]); |
+assertEquals(32, ab[2 * pow31 - 2]); |
+assertEquals(undefined, ab[2 * pow31 - 1]); |
var c = []; |
c[pow30] = 30; |