summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/language/identifiers/part-unicode-15.0.0-class.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/tests/test262/language/identifiers/part-unicode-15.0.0-class.js')
-rw-r--r--js/src/tests/test262/language/identifiers/part-unicode-15.0.0-class.js19
1 files changed, 19 insertions, 0 deletions
diff --git a/js/src/tests/test262/language/identifiers/part-unicode-15.0.0-class.js b/js/src/tests/test262/language/identifiers/part-unicode-15.0.0-class.js
new file mode 100644
index 0000000000..ca1a5e1cfc
--- /dev/null
+++ b/js/src/tests/test262/language/identifiers/part-unicode-15.0.0-class.js
@@ -0,0 +1,19 @@
+// Copyright 2022 Mathias Bynens. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+author: Mathias Bynens
+esid: prod-PrivateIdentifier
+description: |
+ Test that Unicode v15.0.0 ID_Continue characters are accepted as
+ identifier part characters in private class fields.
+info: |
+ Generated by https://github.com/mathiasbynens/caniunicode
+features: [class, class-fields-private]
+---*/
+
+class _ {
+ #_เณณเปŽ๐ปฝ๐ปพ๐ปฟ๐‘‰๐‘ผ€๐‘ผ๐‘ผƒ๐‘ผด๐‘ผต๐‘ผถ๐‘ผท๐‘ผธ๐‘ผน๐‘ผบ๐‘ผพ๐‘ผฟ๐‘ฝ€๐‘ฝ๐‘ฝ‚๐‘ฝ๐‘ฝ‘๐‘ฝ’๐‘ฝ“๐‘ฝ”๐‘ฝ•๐‘ฝ–๐‘ฝ—๐‘ฝ˜๐‘ฝ™๐“‘€๐“‘‡๐“‘ˆ๐“‘‰๐“‘Š๐“‘‹๐“‘Œ๐“‘๐“‘Ž๐“‘๐“‘๐“‘‘๐“‘’๐“‘“๐“‘”๐“‘•๐ž‚๐ž“ฌ๐ž“ญ๐ž“ฎ๐ž“ฏ๐ž“ฐ๐ž“ฑ๐ž“ฒ๐ž“ณ๐ž“ด๐ž“ต๐ž“ถ๐ž“ท๐ž“ธ๐ž“น;
+};
+
+reportCompare(0, 0);