test262/src/class-elements/grammar-static-async-meth-prototype.case

17 lines
470 B
Plaintext

// Copyright (C) 2018 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
desc: Static Async Methods cannot be named prototype
info: |
Class Definitions / Static Semantics: Early Errors
ClassElement : static MethodDefinition
It is a Syntax Error if PropName of MethodDefinition is "prototype"
template: syntax/invalid
features: [async-functions]
---*/
//- elements
static async prototype() {}