Index: test/mjsunit/var.js |
diff --git a/test/mjsunit/var.js b/test/mjsunit/var.js |
index 5999d7028eeb34f793a0c3a0c83a54ad9fdd006c..c3c331ea3cccd6a687f279973a452fd1ba5812f7 100644 |
--- a/test/mjsunit/var.js |
+++ b/test/mjsunit/var.js |
@@ -35,3 +35,22 @@ assertEquals(87, y); |
assertTrue(!z && typeof z == 'undefined'); |
if (false) { var z; } |
assertTrue(!z && typeof z == 'undefined'); |
+ |
+assertThrows("var \u2E2F;", SyntaxError); |
+assertThrows("var \\u2E2F;", SyntaxError); |
+ |
+assertDoesNotThrow("var \u2118;"); |
+assertDoesNotThrow("var \\u2118;"); |
+assertDoesNotThrow("var \u212E;"); |
+assertDoesNotThrow("var \\u212E;"); |
+assertDoesNotThrow("var \u309B;"); |
+assertDoesNotThrow("var \\u309B;"); |
+assertDoesNotThrow("var \u309C;"); |
+assertDoesNotThrow("var \\u309C;"); |
+ |
+assertDoesNotThrow("var $\u00B7;"); |
+assertDoesNotThrow("var $\u0387;"); |
+assertDoesNotThrow("var $\u1369;"); |
+assertDoesNotThrow("var $\u1370;"); |
+assertDoesNotThrow("var $\u1371;"); |
+assertDoesNotThrow("var $\u19DA;"); |