blob: 111c0562b6c9d2f07f47329df1ac012f9e5384d4 [file] [log] [blame] [edit]
// Copyright (C) 2017 Valerie Young. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-class-definitions-static-semantics-early-errors
path: language/expressions/class/elements/static-private-
name: static PrivateName
features: [class, class-static-fields-private]
negative:
type: SyntaxError
phase: parse
---*/
$DONOTEVALUATE();
var C = class {
static #x = /*{ initializer }*/;
}