test262/src/async-functions/syntax/async-class-expr-static-private-method.template

25 lines
654 B
Plaintext

// Copyright (C) 2018 Bloomberg LP. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
path: language/expressions/class/async-private-method-static-
name: Static private async method as a ClassExpression element
esid: prod-AsyncMethod
info: |
ClassElement :
static PrivateMethodDefinition
MethodDefinition :
AsyncMethod
Async Function Definitions
AsyncMethod :
async [no LineTerminator here] # PropertyName ( UniqueFormalParameters ) { AsyncFunctionBody }
features: [async-functions, class-static-methods-private]
---*/
var C = class { static async #method() {
/*{ body }*/
}};