Index: test/cctest/test-parsing.cc |
diff --git a/test/cctest/test-parsing.cc b/test/cctest/test-parsing.cc |
index 2b8e0fb3a6c8869409a51280d1395b15065ee832..08d9e7b2d86b4a5eb1e7a98afa445afe717ff942 100644 |
--- a/test/cctest/test-parsing.cc |
+++ b/test/cctest/test-parsing.cc |
@@ -7860,6 +7860,8 @@ TEST(AsyncAwaitErrors) { |
"var f = async() => await;", |
"var f = async() => { await; };", |
+ "async function f() { return {await} }", |
+ |
"var asyncFn = async function*() {}", |
"async function* f() {}", |
"var O = { *async method() {} };", |