blob: eafce8744d00ec86f909b7d6ec819f2231f26255 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
// |reftest| skip -- decorators is not supported
// This file was procedurally generated from the following sources:
// - src/class-elements/grammar-field-accessor.case
// - src/class-elements/syntax/valid/cls-decl-elements-valid-syntax.template
/*---
description: Valid accessor FieldDefinition, ClassElementName, PropertyName Syntax (class declaration)
esid: prod-ClassElement
features: [decorators, class]
flags: [generated]
info: |
FieldDefinition[Yield, Await] :
ClassElementName[?Yield, ?Await] Initializer[+In, ?Yield, ?Await]opt
accessor [no LineTerminator here] ClassElementName[?Yield, ?Await] Initializer[+In, ?Yield, ?Await]opt
---*/
class C {
accessor $;
accessor _;
accessor \u{6F};
accessor \u2118;
accessor ZW_\u200C_NJ;
accessor ZW_\u200D_J;
}
reportCompare(0, 0);
|