summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/language/identifiers/part-unicode-14.0.0-class.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/tests/test262/language/identifiers/part-unicode-14.0.0-class.js')
-rw-r--r--js/src/tests/test262/language/identifiers/part-unicode-14.0.0-class.js19
1 files changed, 19 insertions, 0 deletions
diff --git a/js/src/tests/test262/language/identifiers/part-unicode-14.0.0-class.js b/js/src/tests/test262/language/identifiers/part-unicode-14.0.0-class.js
new file mode 100644
index 0000000000..a16a7939fe
--- /dev/null
+++ b/js/src/tests/test262/language/identifiers/part-unicode-14.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 v14.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);