summaryrefslogtreecommitdiff
path: root/src/class-fields/default/cls-expr-regular-definitions.template
blob: b00b9f3ff38738599fc7d09a27df8fe530c6256f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright (C) 2017 the V8 project authors, 2017 Igalia S.L. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
path: language/expressions/class/fields-regular-definitions-
name: regular fields defintion
features: [class-fields]
---*/

var C = class {
  /*{ fields }*/
}

var c = new C();

/*{ assertions }*/