void-await-expr-nested.js (1263B)
1 // |reftest| module 2 // This file was procedurally generated from the following sources: 3 // - src/top-level-await/await-expr-nested.case 4 // - src/top-level-await/syntax/void.template 5 /*--- 6 description: Nested AwaitExpressions (Valid syntax for top level await in an UnaryExpression (void).) 7 esid: prod-AwaitExpression 8 features: [top-level-await] 9 flags: [generated, module] 10 info: | 11 ModuleItem: 12 StatementListItem[~Yield, +Await, ~Return] 13 14 ... 15 16 UnaryExpression[Yield, Await] 17 void UnaryExpression[?Yield, ?Await] 18 [+Await]AwaitExpression[?Yield] 19 20 AwaitExpression[Yield]: 21 await UnaryExpression[?Yield, +Await] 22 23 ... 24 25 26 TryStatement[Yield, Await, Return]: 27 try Block[?Yield, ?Await, ?Return] Catch[?Yield, ?Await, ?Return] 28 try Block[?Yield, ?Await, ?Return] Finally[?Yield, ?Await, ?Return] 29 try Block[?Yield, ?Await, ?Return] Catch[?Yield, ?Await, ?Return] Finally[?Yield, ?Await, ?Return] 30 31 ... 32 33 ExpressionStatement[Yield, Await]: 34 [lookahead ∉ { {, function, async [no LineTerminator here] function, class, let [ }] 35 Expression[+In, ?Yield, ?Await]; 36 37 ---*/ 38 39 40 void await await await await await await await await await await await await await await await 'await'; 41 42 reportCompare(0, 0);