summaryrefslogtreecommitdiff
path: root/src/class-fields/default/cls-expr-regular-definitions.template
diff options
context:
space:
mode:
Diffstat (limited to 'src/class-fields/default/cls-expr-regular-definitions.template')
-rw-r--r--src/class-fields/default/cls-expr-regular-definitions.template16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/class-fields/default/cls-expr-regular-definitions.template b/src/class-fields/default/cls-expr-regular-definitions.template
new file mode 100644
index 000000000..b00b9f3ff
--- /dev/null
+++ b/src/class-fields/default/cls-expr-regular-definitions.template
@@ -0,0 +1,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 }*/