Index: test/cctest/test-parsing.cc |
diff --git a/test/cctest/test-parsing.cc b/test/cctest/test-parsing.cc |
index 43737cb8ea56f2518bbb93f6577580c81a06dde1..e14b6f63601708ada88f950d1cc53db51e029e08 100644 |
--- a/test/cctest/test-parsing.cc |
+++ b/test/cctest/test-parsing.cc |
@@ -6449,6 +6449,8 @@ TEST(DestructuringNegativeTests) { |
"false", |
"1", |
"'abc'", |
+ "/abc/", |
+ "`abc`", |
"class {}", |
"{+2 : x}", |
"{-2 : x}", |
@@ -6469,6 +6471,10 @@ TEST(DestructuringNegativeTests) { |
"[...rest,...rest1]", |
"[a,b,...rest,...rest1]", |
"[a,,..rest,...rest1]", |
+ "{ x : 3 }", |
+ "{ x : 'foo' }", |
+ "{ x : /foo/ }", |
+ "{ x : `foo` }", |
NULL}; |
// clang-format on |
RunParserSyncTest(context_data, data, kError, NULL, 0, always_flags, |