mirror of https://github.com/tc39/test262.git
Generate tests
This commit is contained in:
parent
b59bd307a8
commit
41c5a42fa7
|
@ -0,0 +1,25 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/class-elements/class-heritage-array-literal-arrow-heritage.case
|
||||
// - src/class-elements/syntax/invalid/cls-expr-elements-invalid-syntax.template
|
||||
/*---
|
||||
description: It's a SyntaxError if an array literal evaluated on ClassHeritage uses a private name. (class expression)
|
||||
esid: prod-ClassElement
|
||||
features: [class]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
info: |
|
||||
ClassTail : ClassHeritage { ClassBody }
|
||||
|
||||
ClassHeritage :
|
||||
extends LeftHandSideExpression
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
$DONOTEVALUATE();
|
||||
|
||||
var C = class extends () => {} {
|
||||
|
||||
};
|
|
@ -0,0 +1,25 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/class-elements/class-heritage-array-literal-async-arrow-heritage.case
|
||||
// - src/class-elements/syntax/invalid/cls-expr-elements-invalid-syntax.template
|
||||
/*---
|
||||
description: It's a SyntaxError if an array literal evaluated on ClassHeritage uses a private name. (class expression)
|
||||
esid: prod-ClassElement
|
||||
features: [class]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
info: |
|
||||
ClassTail : ClassHeritage { ClassBody }
|
||||
|
||||
ClassHeritage :
|
||||
extends LeftHandSideExpression
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
$DONOTEVALUATE();
|
||||
|
||||
var C = class extends async () => {} {
|
||||
|
||||
};
|
|
@ -0,0 +1,25 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/class-elements/class-heritage-array-literal-arrow-heritage.case
|
||||
// - src/class-elements/syntax/invalid/cls-decl-elements-invalid-syntax.template
|
||||
/*---
|
||||
description: It's a SyntaxError if an array literal evaluated on ClassHeritage uses a private name. (class declaration)
|
||||
esid: prod-ClassElement
|
||||
features: [class]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
info: |
|
||||
ClassTail : ClassHeritage { ClassBody }
|
||||
|
||||
ClassHeritage :
|
||||
extends LeftHandSideExpression
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
$DONOTEVALUATE();
|
||||
|
||||
class C extends () => {} {
|
||||
|
||||
}
|
|
@ -0,0 +1,25 @@
|
|||
// This file was procedurally generated from the following sources:
|
||||
// - src/class-elements/class-heritage-array-literal-async-arrow-heritage.case
|
||||
// - src/class-elements/syntax/invalid/cls-decl-elements-invalid-syntax.template
|
||||
/*---
|
||||
description: It's a SyntaxError if an array literal evaluated on ClassHeritage uses a private name. (class declaration)
|
||||
esid: prod-ClassElement
|
||||
features: [class]
|
||||
flags: [generated]
|
||||
negative:
|
||||
phase: parse
|
||||
type: SyntaxError
|
||||
info: |
|
||||
ClassTail : ClassHeritage { ClassBody }
|
||||
|
||||
ClassHeritage :
|
||||
extends LeftHandSideExpression
|
||||
|
||||
---*/
|
||||
|
||||
|
||||
$DONOTEVALUATE();
|
||||
|
||||
class C extends async () => {} {
|
||||
|
||||
}
|
Loading…
Reference in New Issue