// This file was procedurally generated from the following sources: // - src/class-elements/grammar-fields-same-line-error.case // - src/class-elements/syntax/invalid/cls-expr-elements-invalid-syntax.template /*--- description: SyntaxError (class expression) esid: prod-ClassElement features: [class-fields-public, class] flags: [generated] negative: phase: parse type: SyntaxError info: | ClassElement : MethodDefinition static MethodDefinition FieldDefinition ; ; FieldDefinition : ClassElementName Initializer _opt ClassElementName : PropertyName PrivateName ---*/ throw "Test262: This statement should not be evaluated."; var C = class { x y };