summaryrefslogtreecommitdiffstats
path: root/js/src/tests/non262/PrivateName/unicode-names.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/tests/non262/PrivateName/unicode-names.js')
-rw-r--r--js/src/tests/non262/PrivateName/unicode-names.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/js/src/tests/non262/PrivateName/unicode-names.js b/js/src/tests/non262/PrivateName/unicode-names.js
new file mode 100644
index 0000000000..ff8d1fa2ff
--- /dev/null
+++ b/js/src/tests/non262/PrivateName/unicode-names.js
@@ -0,0 +1,11 @@
+// |reftest| skip-if(!xulRuntime.shell)
+
+source = `class A {
+ // Ensure this name parses. Failure would be an InternalError: Buffer too
+ // small
+ #℘;
+}`;
+
+Function(source);
+
+if (typeof reportCompare === 'function') reportCompare(0, 0); \ No newline at end of file