diff --git a/src/class-elements/syntax/invalid/cls-decl-elements-invalid-syntax.template b/src/class-elements/syntax/invalid/cls-decl-elements-invalid-syntax.template index 4ce748d237..427d5caf92 100644 --- a/src/class-elements/syntax/invalid/cls-decl-elements-invalid-syntax.template +++ b/src/class-elements/syntax/invalid/cls-decl-elements-invalid-syntax.template @@ -13,6 +13,6 @@ negative: throw "Test262: This statement should not be evaluated."; -class C { +class C /*{ heritage }*/ { /*{ elements }*/ } diff --git a/src/class-elements/syntax/invalid/cls-expr-elements-invalid-syntax.template b/src/class-elements/syntax/invalid/cls-expr-elements-invalid-syntax.template index 82bc66c4ec..87c961e691 100644 --- a/src/class-elements/syntax/invalid/cls-expr-elements-invalid-syntax.template +++ b/src/class-elements/syntax/invalid/cls-expr-elements-invalid-syntax.template @@ -13,6 +13,6 @@ negative: throw "Test262: This statement should not be evaluated."; -var C = class { +var C = class /*{ heritage }*/ { /*{ elements }*/ }; diff --git a/src/class-elements/syntax/valid/cls-decl-elements-valid-syntax.template b/src/class-elements/syntax/valid/cls-decl-elements-valid-syntax.template index b662395afc..35030bbb29 100644 --- a/src/class-elements/syntax/valid/cls-decl-elements-valid-syntax.template +++ b/src/class-elements/syntax/valid/cls-decl-elements-valid-syntax.template @@ -8,6 +8,6 @@ path: language/statements/class/syntax/valid/ features: [class] ---*/ -class C { +class C /*{ heritage }*/ { /*{ elements }*/ } diff --git a/src/class-elements/syntax/valid/cls-expr-elements-valid-syntax.template b/src/class-elements/syntax/valid/cls-expr-elements-valid-syntax.template index 99bc9ac3c7..ff3e4f3674 100644 --- a/src/class-elements/syntax/valid/cls-expr-elements-valid-syntax.template +++ b/src/class-elements/syntax/valid/cls-expr-elements-valid-syntax.template @@ -8,6 +8,6 @@ path: language/expressions/class/syntax/valid/ features: [class] ---*/ -var C = class { +var C = class /*{ heritage }*/ { /*{ elements }*/ };