| 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-wrapped-in-sc- |
| 6 |
name: fields definition wrapped in semicolons |
| 7 |
features: [class, class-fields-public] |
| 8 |
esid: prod-FieldDefinition |
| 9 |
---*/ |
| 10 |
|
| 11 |
var C = class { |
| 12 |
;;;; |
| 13 |
;;;;;;/*{ fields }*/;;;;;;; |
| 14 |
;;;; |
| 15 |
/*{ privateinspectionfunctions }*/ |
| 16 |
} |
| 17 |
|
| 18 |
var c = new C(); |
| 19 |
|
| 20 |
/*{ assertions }*/ |