Remove duplicate of test/language/statements/class/fields-privatename-constructor-err.js

This commit is contained in:
Leo Balter 2018-08-21 16:24:37 -04:00
parent e25e53c0a7
commit dbcd388154
1 changed files with 0 additions and 22 deletions

View File

@ -1,22 +0,0 @@
// Copyright (C) 2017 Valerie Young. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
description: static class fields forbid PropName 'prototype' (early error -- PropName of StringLiteral is forbidden value)
esid: sec-class-definitions-static-semantics-early-errors
features: [class, class-fields-private]
negative:
phase: parse
type: SyntaxError
info: |
ClassElementName : PrivateName;
It is a Syntax Error if StringValue of PrivateName is "#constructor".
---*/
throw "Test262: This statement should not be evaluated.";
class C {
#constructor;
}