test262/test/language/statements/class/syntax-valid-grammar-fields...

31 lines
615 B
JavaScript
Raw Normal View History

2018-08-06 19:59:20 +02:00
// This file was procedurally generated from the following sources:
// - src/class-fields/grammar-fields-multi-line.case
// - src/class-fields/syntax/valid/cls-decl-fields-valid-syntax.template
/*---
2018-08-10 17:52:50 +02:00
description: Valid multi-line, multi-field (class declaration)
2018-08-06 19:59:20 +02:00
esid: prod-ClassElement
features: [class-fields-public, class]
flags: [generated]
info: |
ClassElement :
MethodDefinition
static MethodDefinition
FieldDefinition ;
;
FieldDefinition :
ClassElementName Initializer _opt
ClassElementName :
PropertyName
PrivateName
---*/
class C {
x
y
}