test262/src/class-elements/syntax/invalid/cls-expr-elements-invalid-syntax.template
2018-10-23 13:51:17 +02:00

19 lines
379 B
Plaintext

// Copyright (C) 2018 Rick Waldron. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: prod-ClassElement
name: class expression
path: language/expressions/class/syntax/early-errors/
features: [class]
negative:
phase: parse
type: SyntaxError
---*/
$DONOTEVALUATE();
var C = class /*{ heritage }*/{
/*{ elements }*/
};