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