tests/auto/qml/ecmascripttests/test262/src/class-fields/productions/cls-expr-regular-definitions.template
raw| 1 | // Copyright (C) 2017 the V8 project authors, 2017 Igalia S.L. All rights reserved. |
| 2 | // This code is governed by the BSD license found in the LICENSE file. |
| 3 | |
| 4 | /*--- |
| 5 | path: language/expressions/class/fields-regular-definitions- |
| 6 | name: regular fields defintion |
| 7 | features: [class, class-fields-public] |
| 8 | esid: prod-FieldDefinition |
| 9 | ---*/ |
| 10 | |
| 11 | var C = class { |
| 12 | /*{ fields }*/ |
| 13 | /*{ privateinspectionfunctions }*/ |
| 14 | } |
| 15 | |
| 16 | var c = new C(); |
| 17 | |
| 18 | /*{ assertions }*/ |