Index: test/mjsunit/regress/regress-3025.js |
diff --git a/test/mjsunit/regress/regress-2790.js b/test/mjsunit/regress/regress-3025.js |
similarity index 92% |
copy from test/mjsunit/regress/regress-2790.js |
copy to test/mjsunit/regress/regress-3025.js |
index 927f2607cc1f16ab56acdb21d1a77fd4dc8dbe58..ccb3830687b9eeff358b0aff5e02e3e89d35b8cf 100644 |
--- a/test/mjsunit/regress/regress-2790.js |
+++ b/test/mjsunit/regress/regress-3025.js |
@@ -25,7 +25,8 @@ |
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
-// Test that we can create arrays of any size. |
-for (var i = 1000; i < 1000000; i += 197) { |
- new Array(i); |
-} |
+var n = 0x8000000000000800; |
+assertEquals(n, 9223372036854778000); |
+var s = n.toString(5); |
+var v = parseInt(s, 5); |
+assertEquals(n, v); |