Index: test/cctest/test-parsing.cc |
diff --git a/test/cctest/test-parsing.cc b/test/cctest/test-parsing.cc |
index 522c95d5b36f13c2cea2af654601dd342554374f..b9251e9b09afc1461f58a244fad9d278e91e34d3 100644 |
--- a/test/cctest/test-parsing.cc |
+++ b/test/cctest/test-parsing.cc |
@@ -6715,6 +6715,10 @@ TEST(DestructuringNegativeTests) { |
"{ x : 'foo' }", |
"{ x : /foo/ }", |
"{ x : `foo` }", |
+ "{ get a() {} }", |
+ "{ set a() {} }", |
+ "{ method() {} }", |
+ "{ *method() {} }", |
NULL}; |
// clang-format on |
RunParserSyncTest(context_data, data, kError, NULL, 0, always_flags, |