Index: test/mjsunit/harmony/to-name.js |
diff --git a/test/mjsunit/harmony/to-name.js b/test/mjsunit/harmony/to-name.js |
index c15bfb5d29a92f28a919e8a2f3688c6c8f58729e..6d5d64e5e418766880937fcb47357c1eb9cfd52e 100644 |
--- a/test/mjsunit/harmony/to-name.js |
+++ b/test/mjsunit/harmony/to-name.js |
@@ -48,3 +48,7 @@ var d = { |
}; |
assertEquals("string", %ToName(d)); |
assertEquals("string", %_ToName(d)); |
+ |
+var e = new Date(0); |
+assertEquals(e.toString(), %ToName(e)); |
+assertEquals(e.toString(), %_ToName(e)); |