Debian Codegraph @

js/src/tests/test262/language/white-space/mongolian-vowel-separator.js

raw
1 // |reftest| error:SyntaxError
2 // Copyright (C) 2016 André Bargull. All rights reserved.
3 // This code is governed by the BSD license found in the LICENSE file.
4
5 /*---
6 esid: sec-white-space
7 description: >
8 Mongolian Vowel Separator is not recognized as white space.
9 info: |
10 11.2 White Space
11
12 WhiteSpace ::
13 <TAB>
14 <VT>
15 <FF>
16 <SP>
17 <NBSP>
18 <ZWNBSP>
19 <USP>
20 <USP> ::
21 Other category “Zs” code points
22
23 General Category of U+180E is “Cf” (Format).
24 negative:
25 phase: parse
26 type: SyntaxError
27 features: [u180e]
28 ---*/
29
30 $DONOTEVALUATE();
31
32 // U+180E between "var" and "foo"; UTF8(0x180E) = 0xE1 0xA0 0x8E
33 var᠎foo;