summaryrefslogtreecommitdiffstats
path: root/js/src/tests/non262/PrivateName/unicode-names.js
blob: ff8d1fa2ffbfeca5ff0d871cdbc7441e8cef4e69 (plain)
1
2
3
4
5
6
7
8
9
10
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);