Debian Codegraph @

js/src/tests/test262/language/statements/class/static-init-statement-list-optional.js

raw
1 // Copyright (C) 2021 the V8 project authors. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3 /*---
4 esid: sec-class-definitions
5 description: The block's statement list is optional
6 info: |
7 Syntax
8
9 [...]
10
11 ClassStaticBlockStatementList :
12 StatementList[~Yield, +Await, ~Return]opt
13 features: [class-static-block]
14 ---*/
15
16 class C {
17 static {}
18 }
19
20 reportCompare(0, 0);