From 2664e17e1d13ba0aecb4701a7ab79f787604adb1 Mon Sep 17 00:00:00 2001
From: Valerie R Young <valerie@bocoup.com>
Date: Fri, 20 Oct 2017 20:39:24 -0400
Subject: [PATCH] generated test files

---
 ...elds-computed-name-propname-constructor.js | 32 +++++++++++++++++++
 ...mputed-name-static-propname-constructor.js | 32 +++++++++++++++++++
 ...computed-name-static-propname-prototype.js | 32 +++++++++++++++++++
 ...ields-literal-name-propname-constructor.js | 31 ++++++++++++++++++
 ...iteral-name-static-propname-constructor.js | 31 ++++++++++++++++++
 ...-literal-name-static-propname-prototype.js | 31 ++++++++++++++++++
 ...fields-string-name-propname-constructor.js | 32 +++++++++++++++++++
 ...string-name-static-propname-constructor.js | 32 +++++++++++++++++++
 ...s-string-name-static-propname-prototype.js | 32 +++++++++++++++++++
 ...elds-computed-name-propname-constructor.js | 32 +++++++++++++++++++
 ...mputed-name-static-propname-constructor.js | 32 +++++++++++++++++++
 ...computed-name-static-propname-prototype.js | 32 +++++++++++++++++++
 ...ields-literal-name-propname-constructor.js | 31 ++++++++++++++++++
 ...iteral-name-static-propname-constructor.js | 31 ++++++++++++++++++
 ...-literal-name-static-propname-prototype.js | 31 ++++++++++++++++++
 ...fields-string-name-propname-constructor.js | 32 +++++++++++++++++++
 ...string-name-static-propname-constructor.js | 32 +++++++++++++++++++
 ...s-string-name-static-propname-prototype.js | 32 +++++++++++++++++++
 18 files changed, 570 insertions(+)
 create mode 100644 test/language/expressions/class/fields-computed-name-propname-constructor.js
 create mode 100644 test/language/expressions/class/fields-computed-name-static-propname-constructor.js
 create mode 100644 test/language/expressions/class/fields-computed-name-static-propname-prototype.js
 create mode 100644 test/language/expressions/class/fields-literal-name-propname-constructor.js
 create mode 100644 test/language/expressions/class/fields-literal-name-static-propname-constructor.js
 create mode 100644 test/language/expressions/class/fields-literal-name-static-propname-prototype.js
 create mode 100644 test/language/expressions/class/fields-string-name-propname-constructor.js
 create mode 100644 test/language/expressions/class/fields-string-name-static-propname-constructor.js
 create mode 100644 test/language/expressions/class/fields-string-name-static-propname-prototype.js
 create mode 100644 test/language/statements/class/fields-computed-name-propname-constructor.js
 create mode 100644 test/language/statements/class/fields-computed-name-static-propname-constructor.js
 create mode 100644 test/language/statements/class/fields-computed-name-static-propname-prototype.js
 create mode 100644 test/language/statements/class/fields-literal-name-propname-constructor.js
 create mode 100644 test/language/statements/class/fields-literal-name-static-propname-constructor.js
 create mode 100644 test/language/statements/class/fields-literal-name-static-propname-prototype.js
 create mode 100644 test/language/statements/class/fields-string-name-propname-constructor.js
 create mode 100644 test/language/statements/class/fields-string-name-static-propname-constructor.js
 create mode 100644 test/language/statements/class/fields-string-name-static-propname-prototype.js

diff --git a/test/language/expressions/class/fields-computed-name-propname-constructor.js b/test/language/expressions/class/fields-computed-name-propname-constructor.js
new file mode 100644
index 0000000000..0ea94af6ab
--- /dev/null
+++ b/test/language/expressions/class/fields-computed-name-propname-constructor.js
@@ -0,0 +1,32 @@
+// This file was procedurally generated from the following sources:
+// - src/class-fields/propname-constructor.case
+// - src/class-fields/propname-error/cls-expr-computed-name.template
+/*---
+description: Static class fields cannot have PropName 'constructor' (computed)
+esid: sec-class-definitions-static-semantics-early-errors
+features: [class-fields]
+flags: [generated]
+info: |
+    Static Semantics: PropName
+    ...
+    ComputedPropertyName : [ AssignmentExpression ]
+      Return empty.
+
+    
+    // This test file tests the following early error:
+    Static Semantics: Early Errors
+
+      ClassElement : FieldDefinition;
+        It is a Syntax Error if PropName of FieldDefinition is "constructor".
+
+---*/
+
+
+var x = "constructor";
+var C = class {
+   [x];
+}
+
+var c = new C();
+
+assert.sameValue(c.hasOwnProperty("constructor"), true);
diff --git a/test/language/expressions/class/fields-computed-name-static-propname-constructor.js b/test/language/expressions/class/fields-computed-name-static-propname-constructor.js
new file mode 100644
index 0000000000..96c4830c6c
--- /dev/null
+++ b/test/language/expressions/class/fields-computed-name-static-propname-constructor.js
@@ -0,0 +1,32 @@
+// This file was procedurally generated from the following sources:
+// - src/class-fields/static-propname-constructor.case
+// - src/class-fields/propname-error/cls-expr-computed-name.template
+/*---
+description: Static class field cannot have PropName 'constructor' (computed)
+esid: sec-class-definitions-static-semantics-early-errors
+features: [class-fields]
+flags: [generated]
+info: |
+    Static Semantics: PropName
+    ...
+    ComputedPropertyName : [ AssignmentExpression ]
+      Return empty.
+
+    
+    // This test file tests the following early error:
+    Static Semantics: Early Errors
+
+      ClassElement : staticFieldDefinition;
+        It is a Syntax Error if PropName of FieldDefinition is "prototype" or "constructor".
+
+---*/
+
+
+var x = "constructor";
+var C = class {
+  static [x];
+}
+
+var c = new C();
+
+assert.sameValue(c.hasOwnProperty("constructor"), true);
diff --git a/test/language/expressions/class/fields-computed-name-static-propname-prototype.js b/test/language/expressions/class/fields-computed-name-static-propname-prototype.js
new file mode 100644
index 0000000000..d1a3c6ef98
--- /dev/null
+++ b/test/language/expressions/class/fields-computed-name-static-propname-prototype.js
@@ -0,0 +1,32 @@
+// This file was procedurally generated from the following sources:
+// - src/class-fields/static-propname-prototype.case
+// - src/class-fields/propname-error/cls-expr-computed-name.template
+/*---
+description: Static class fields cannot have PropName 'prototype' (computed)
+esid: sec-class-definitions-static-semantics-early-errors
+features: [class-fields]
+flags: [generated]
+info: |
+    Static Semantics: PropName
+    ...
+    ComputedPropertyName : [ AssignmentExpression ]
+      Return empty.
+
+    
+    // This test file tests the following early error:
+    Static Semantics: Early Errors
+
+      ClassElement : staticFieldDefinition;
+        It is a Syntax Error if PropName of FieldDefinition is "prototype" or "constructor".
+
+---*/
+
+
+var x = "prototype";
+var C = class {
+  static [x];
+}
+
+var c = new C();
+
+assert.sameValue(c.hasOwnProperty("prototype"), true);
diff --git a/test/language/expressions/class/fields-literal-name-propname-constructor.js b/test/language/expressions/class/fields-literal-name-propname-constructor.js
new file mode 100644
index 0000000000..2e868f5869
--- /dev/null
+++ b/test/language/expressions/class/fields-literal-name-propname-constructor.js
@@ -0,0 +1,31 @@
+// This file was procedurally generated from the following sources:
+// - src/class-fields/propname-constructor.case
+// - src/class-fields/propname-error/cls-expr-literal-name.template
+/*---
+description: Static class fields cannot have PropName 'constructor' (literal name)
+esid: sec-class-definitions-static-semantics-early-errors
+features: [class-fields]
+flags: [generated]
+negative:
+  phase: early
+  type: SyntaxError
+info: |
+    Static Semantics: PropName
+    LiteralPropertyName : IdentifierName
+      Return StringValue of IdentifierName.
+
+    
+    // This test file tests the following early error:
+    Static Semantics: Early Errors
+
+      ClassElement : FieldDefinition;
+        It is a Syntax Error if PropName of FieldDefinition is "constructor".
+
+---*/
+
+
+throw "Test262: This statement should not be evaluated.";
+
+var C = class {
+   constructor;
+}
diff --git a/test/language/expressions/class/fields-literal-name-static-propname-constructor.js b/test/language/expressions/class/fields-literal-name-static-propname-constructor.js
new file mode 100644
index 0000000000..575a9c99a7
--- /dev/null
+++ b/test/language/expressions/class/fields-literal-name-static-propname-constructor.js
@@ -0,0 +1,31 @@
+// This file was procedurally generated from the following sources:
+// - src/class-fields/static-propname-constructor.case
+// - src/class-fields/propname-error/cls-expr-literal-name.template
+/*---
+description: Static class field cannot have PropName 'constructor' (literal name)
+esid: sec-class-definitions-static-semantics-early-errors
+features: [class-fields]
+flags: [generated]
+negative:
+  phase: early
+  type: SyntaxError
+info: |
+    Static Semantics: PropName
+    LiteralPropertyName : IdentifierName
+      Return StringValue of IdentifierName.
+
+    
+    // This test file tests the following early error:
+    Static Semantics: Early Errors
+
+      ClassElement : staticFieldDefinition;
+        It is a Syntax Error if PropName of FieldDefinition is "prototype" or "constructor".
+
+---*/
+
+
+throw "Test262: This statement should not be evaluated.";
+
+var C = class {
+  static constructor;
+}
diff --git a/test/language/expressions/class/fields-literal-name-static-propname-prototype.js b/test/language/expressions/class/fields-literal-name-static-propname-prototype.js
new file mode 100644
index 0000000000..b76526aba5
--- /dev/null
+++ b/test/language/expressions/class/fields-literal-name-static-propname-prototype.js
@@ -0,0 +1,31 @@
+// This file was procedurally generated from the following sources:
+// - src/class-fields/static-propname-prototype.case
+// - src/class-fields/propname-error/cls-expr-literal-name.template
+/*---
+description: Static class fields cannot have PropName 'prototype' (literal name)
+esid: sec-class-definitions-static-semantics-early-errors
+features: [class-fields]
+flags: [generated]
+negative:
+  phase: early
+  type: SyntaxError
+info: |
+    Static Semantics: PropName
+    LiteralPropertyName : IdentifierName
+      Return StringValue of IdentifierName.
+
+    
+    // This test file tests the following early error:
+    Static Semantics: Early Errors
+
+      ClassElement : staticFieldDefinition;
+        It is a Syntax Error if PropName of FieldDefinition is "prototype" or "constructor".
+
+---*/
+
+
+throw "Test262: This statement should not be evaluated.";
+
+var C = class {
+  static prototype;
+}
diff --git a/test/language/expressions/class/fields-string-name-propname-constructor.js b/test/language/expressions/class/fields-string-name-propname-constructor.js
new file mode 100644
index 0000000000..487301bd0f
--- /dev/null
+++ b/test/language/expressions/class/fields-string-name-propname-constructor.js
@@ -0,0 +1,32 @@
+// This file was procedurally generated from the following sources:
+// - src/class-fields/propname-constructor.case
+// - src/class-fields/propname-error/cls-expr-string-name.template
+/*---
+description: Static class fields cannot have PropName 'constructor' (string name)
+esid: sec-class-definitions-static-semantics-early-errors
+features: [class-fields]
+flags: [generated]
+negative:
+  phase: early
+  type: SyntaxError
+info: |
+    Static Semantics: PropName
+    ...
+    LiteralPropertyName:StringLiteral
+      Return the String value whose code units are the SV of the StringLiteral.
+
+    
+    // This test file tests the following early error:
+    Static Semantics: Early Errors
+
+      ClassElement : FieldDefinition;
+        It is a Syntax Error if PropName of FieldDefinition is "constructor".
+
+---*/
+
+
+throw "Test262: This statement should not be evaluated.";
+
+var C = class {
+   'constructor';
+}
diff --git a/test/language/expressions/class/fields-string-name-static-propname-constructor.js b/test/language/expressions/class/fields-string-name-static-propname-constructor.js
new file mode 100644
index 0000000000..9b695f8dfe
--- /dev/null
+++ b/test/language/expressions/class/fields-string-name-static-propname-constructor.js
@@ -0,0 +1,32 @@
+// This file was procedurally generated from the following sources:
+// - src/class-fields/static-propname-constructor.case
+// - src/class-fields/propname-error/cls-expr-string-name.template
+/*---
+description: Static class field cannot have PropName 'constructor' (string name)
+esid: sec-class-definitions-static-semantics-early-errors
+features: [class-fields]
+flags: [generated]
+negative:
+  phase: early
+  type: SyntaxError
+info: |
+    Static Semantics: PropName
+    ...
+    LiteralPropertyName:StringLiteral
+      Return the String value whose code units are the SV of the StringLiteral.
+
+    
+    // This test file tests the following early error:
+    Static Semantics: Early Errors
+
+      ClassElement : staticFieldDefinition;
+        It is a Syntax Error if PropName of FieldDefinition is "prototype" or "constructor".
+
+---*/
+
+
+throw "Test262: This statement should not be evaluated.";
+
+var C = class {
+  static 'constructor';
+}
diff --git a/test/language/expressions/class/fields-string-name-static-propname-prototype.js b/test/language/expressions/class/fields-string-name-static-propname-prototype.js
new file mode 100644
index 0000000000..b3a28a18ee
--- /dev/null
+++ b/test/language/expressions/class/fields-string-name-static-propname-prototype.js
@@ -0,0 +1,32 @@
+// This file was procedurally generated from the following sources:
+// - src/class-fields/static-propname-prototype.case
+// - src/class-fields/propname-error/cls-expr-string-name.template
+/*---
+description: Static class fields cannot have PropName 'prototype' (string name)
+esid: sec-class-definitions-static-semantics-early-errors
+features: [class-fields]
+flags: [generated]
+negative:
+  phase: early
+  type: SyntaxError
+info: |
+    Static Semantics: PropName
+    ...
+    LiteralPropertyName:StringLiteral
+      Return the String value whose code units are the SV of the StringLiteral.
+
+    
+    // This test file tests the following early error:
+    Static Semantics: Early Errors
+
+      ClassElement : staticFieldDefinition;
+        It is a Syntax Error if PropName of FieldDefinition is "prototype" or "constructor".
+
+---*/
+
+
+throw "Test262: This statement should not be evaluated.";
+
+var C = class {
+  static 'prototype';
+}
diff --git a/test/language/statements/class/fields-computed-name-propname-constructor.js b/test/language/statements/class/fields-computed-name-propname-constructor.js
new file mode 100644
index 0000000000..238e373b28
--- /dev/null
+++ b/test/language/statements/class/fields-computed-name-propname-constructor.js
@@ -0,0 +1,32 @@
+// This file was procedurally generated from the following sources:
+// - src/class-fields/propname-constructor.case
+// - src/class-fields/propname-error/cls-decl-computed-name.template
+/*---
+description: Static class fields cannot have PropName 'constructor' (computed)
+esid: sec-class-definitions-static-semantics-early-errors
+features: [class-fields]
+flags: [generated]
+info: |
+    Static Semantics: PropName
+    ...
+    ComputedPropertyName : [ AssignmentExpression ]
+      Return empty.
+
+    
+    // This test file tests the following early error:
+    Static Semantics: Early Errors
+
+      ClassElement : FieldDefinition;
+        It is a Syntax Error if PropName of FieldDefinition is "constructor".
+
+---*/
+
+
+var x = "constructor";
+class C {
+   [x];
+}
+
+var c = new C();
+
+assert.sameValue(c.hasOwnProperty("constructor"), true);
diff --git a/test/language/statements/class/fields-computed-name-static-propname-constructor.js b/test/language/statements/class/fields-computed-name-static-propname-constructor.js
new file mode 100644
index 0000000000..e9be37e0a7
--- /dev/null
+++ b/test/language/statements/class/fields-computed-name-static-propname-constructor.js
@@ -0,0 +1,32 @@
+// This file was procedurally generated from the following sources:
+// - src/class-fields/static-propname-constructor.case
+// - src/class-fields/propname-error/cls-decl-computed-name.template
+/*---
+description: Static class field cannot have PropName 'constructor' (computed)
+esid: sec-class-definitions-static-semantics-early-errors
+features: [class-fields]
+flags: [generated]
+info: |
+    Static Semantics: PropName
+    ...
+    ComputedPropertyName : [ AssignmentExpression ]
+      Return empty.
+
+    
+    // This test file tests the following early error:
+    Static Semantics: Early Errors
+
+      ClassElement : staticFieldDefinition;
+        It is a Syntax Error if PropName of FieldDefinition is "prototype" or "constructor".
+
+---*/
+
+
+var x = "constructor";
+class C {
+  static [x];
+}
+
+var c = new C();
+
+assert.sameValue(c.hasOwnProperty("constructor"), true);
diff --git a/test/language/statements/class/fields-computed-name-static-propname-prototype.js b/test/language/statements/class/fields-computed-name-static-propname-prototype.js
new file mode 100644
index 0000000000..2835696615
--- /dev/null
+++ b/test/language/statements/class/fields-computed-name-static-propname-prototype.js
@@ -0,0 +1,32 @@
+// This file was procedurally generated from the following sources:
+// - src/class-fields/static-propname-prototype.case
+// - src/class-fields/propname-error/cls-decl-computed-name.template
+/*---
+description: Static class fields cannot have PropName 'prototype' (computed)
+esid: sec-class-definitions-static-semantics-early-errors
+features: [class-fields]
+flags: [generated]
+info: |
+    Static Semantics: PropName
+    ...
+    ComputedPropertyName : [ AssignmentExpression ]
+      Return empty.
+
+    
+    // This test file tests the following early error:
+    Static Semantics: Early Errors
+
+      ClassElement : staticFieldDefinition;
+        It is a Syntax Error if PropName of FieldDefinition is "prototype" or "constructor".
+
+---*/
+
+
+var x = "prototype";
+class C {
+  static [x];
+}
+
+var c = new C();
+
+assert.sameValue(c.hasOwnProperty("prototype"), true);
diff --git a/test/language/statements/class/fields-literal-name-propname-constructor.js b/test/language/statements/class/fields-literal-name-propname-constructor.js
new file mode 100644
index 0000000000..9167ba7d37
--- /dev/null
+++ b/test/language/statements/class/fields-literal-name-propname-constructor.js
@@ -0,0 +1,31 @@
+// This file was procedurally generated from the following sources:
+// - src/class-fields/propname-constructor.case
+// - src/class-fields/propname-error/cls-decl-literal-name.template
+/*---
+description: Static class fields cannot have PropName 'constructor' (literal name)
+esid: sec-class-definitions-static-semantics-early-errors
+features: [class-fields]
+flags: [generated]
+negative:
+  phase: early
+  type: SyntaxError
+info: |
+    Static Semantics: PropName
+    LiteralPropertyName : IdentifierName
+      Return StringValue of IdentifierName.
+
+    
+    // This test file tests the following early error:
+    Static Semantics: Early Errors
+
+      ClassElement : FieldDefinition;
+        It is a Syntax Error if PropName of FieldDefinition is "constructor".
+
+---*/
+
+
+throw "Test262: This statement should not be evaluated.";
+
+class C {
+   constructor;
+}
diff --git a/test/language/statements/class/fields-literal-name-static-propname-constructor.js b/test/language/statements/class/fields-literal-name-static-propname-constructor.js
new file mode 100644
index 0000000000..e66a47dbc8
--- /dev/null
+++ b/test/language/statements/class/fields-literal-name-static-propname-constructor.js
@@ -0,0 +1,31 @@
+// This file was procedurally generated from the following sources:
+// - src/class-fields/static-propname-constructor.case
+// - src/class-fields/propname-error/cls-decl-literal-name.template
+/*---
+description: Static class field cannot have PropName 'constructor' (literal name)
+esid: sec-class-definitions-static-semantics-early-errors
+features: [class-fields]
+flags: [generated]
+negative:
+  phase: early
+  type: SyntaxError
+info: |
+    Static Semantics: PropName
+    LiteralPropertyName : IdentifierName
+      Return StringValue of IdentifierName.
+
+    
+    // This test file tests the following early error:
+    Static Semantics: Early Errors
+
+      ClassElement : staticFieldDefinition;
+        It is a Syntax Error if PropName of FieldDefinition is "prototype" or "constructor".
+
+---*/
+
+
+throw "Test262: This statement should not be evaluated.";
+
+class C {
+  static constructor;
+}
diff --git a/test/language/statements/class/fields-literal-name-static-propname-prototype.js b/test/language/statements/class/fields-literal-name-static-propname-prototype.js
new file mode 100644
index 0000000000..b2818e7230
--- /dev/null
+++ b/test/language/statements/class/fields-literal-name-static-propname-prototype.js
@@ -0,0 +1,31 @@
+// This file was procedurally generated from the following sources:
+// - src/class-fields/static-propname-prototype.case
+// - src/class-fields/propname-error/cls-decl-literal-name.template
+/*---
+description: Static class fields cannot have PropName 'prototype' (literal name)
+esid: sec-class-definitions-static-semantics-early-errors
+features: [class-fields]
+flags: [generated]
+negative:
+  phase: early
+  type: SyntaxError
+info: |
+    Static Semantics: PropName
+    LiteralPropertyName : IdentifierName
+      Return StringValue of IdentifierName.
+
+    
+    // This test file tests the following early error:
+    Static Semantics: Early Errors
+
+      ClassElement : staticFieldDefinition;
+        It is a Syntax Error if PropName of FieldDefinition is "prototype" or "constructor".
+
+---*/
+
+
+throw "Test262: This statement should not be evaluated.";
+
+class C {
+  static prototype;
+}
diff --git a/test/language/statements/class/fields-string-name-propname-constructor.js b/test/language/statements/class/fields-string-name-propname-constructor.js
new file mode 100644
index 0000000000..01b53e20b8
--- /dev/null
+++ b/test/language/statements/class/fields-string-name-propname-constructor.js
@@ -0,0 +1,32 @@
+// This file was procedurally generated from the following sources:
+// - src/class-fields/propname-constructor.case
+// - src/class-fields/propname-error/cls-decl-string-name.template
+/*---
+description: Static class fields cannot have PropName 'constructor' (string name)
+esid: sec-class-definitions-static-semantics-early-errors
+features: [class-fields]
+flags: [generated]
+negative:
+  phase: early
+  type: SyntaxError
+info: |
+    Static Semantics: PropName
+    ...
+    LiteralPropertyName:StringLiteral
+      Return the String value whose code units are the SV of the StringLiteral.
+
+    
+    // This test file tests the following early error:
+    Static Semantics: Early Errors
+
+      ClassElement : FieldDefinition;
+        It is a Syntax Error if PropName of FieldDefinition is "constructor".
+
+---*/
+
+
+throw "Test262: This statement should not be evaluated.";
+
+class C {
+   'constructor';
+}
diff --git a/test/language/statements/class/fields-string-name-static-propname-constructor.js b/test/language/statements/class/fields-string-name-static-propname-constructor.js
new file mode 100644
index 0000000000..0a33f6204f
--- /dev/null
+++ b/test/language/statements/class/fields-string-name-static-propname-constructor.js
@@ -0,0 +1,32 @@
+// This file was procedurally generated from the following sources:
+// - src/class-fields/static-propname-constructor.case
+// - src/class-fields/propname-error/cls-decl-string-name.template
+/*---
+description: Static class field cannot have PropName 'constructor' (string name)
+esid: sec-class-definitions-static-semantics-early-errors
+features: [class-fields]
+flags: [generated]
+negative:
+  phase: early
+  type: SyntaxError
+info: |
+    Static Semantics: PropName
+    ...
+    LiteralPropertyName:StringLiteral
+      Return the String value whose code units are the SV of the StringLiteral.
+
+    
+    // This test file tests the following early error:
+    Static Semantics: Early Errors
+
+      ClassElement : staticFieldDefinition;
+        It is a Syntax Error if PropName of FieldDefinition is "prototype" or "constructor".
+
+---*/
+
+
+throw "Test262: This statement should not be evaluated.";
+
+class C {
+  static 'constructor';
+}
diff --git a/test/language/statements/class/fields-string-name-static-propname-prototype.js b/test/language/statements/class/fields-string-name-static-propname-prototype.js
new file mode 100644
index 0000000000..74c89cd445
--- /dev/null
+++ b/test/language/statements/class/fields-string-name-static-propname-prototype.js
@@ -0,0 +1,32 @@
+// This file was procedurally generated from the following sources:
+// - src/class-fields/static-propname-prototype.case
+// - src/class-fields/propname-error/cls-decl-string-name.template
+/*---
+description: Static class fields cannot have PropName 'prototype' (string name)
+esid: sec-class-definitions-static-semantics-early-errors
+features: [class-fields]
+flags: [generated]
+negative:
+  phase: early
+  type: SyntaxError
+info: |
+    Static Semantics: PropName
+    ...
+    LiteralPropertyName:StringLiteral
+      Return the String value whose code units are the SV of the StringLiteral.
+
+    
+    // This test file tests the following early error:
+    Static Semantics: Early Errors
+
+      ClassElement : staticFieldDefinition;
+        It is a Syntax Error if PropName of FieldDefinition is "prototype" or "constructor".
+
+---*/
+
+
+throw "Test262: This statement should not be evaluated.";
+
+class C {
+  static 'prototype';
+}
-- 
GitLab