Debian Codegraph @

js/src/tests/test262/language/literals/numeric/numeric-separators/numeric-separator-literal-unicode-err.js

raw
1 // |reftest| error:SyntaxError
2 // Copyright (C) 2017 the V8 project authors. All rights reserved.
3 // This code is governed by the BSD license found in the LICENSE file.
4
5 /*---
6 esid: prod-NumericLiteralSeparator
7 description: >
8 NonZeroDigit NumericLiteralSeparator DecimalDigits sequence expressed with
9 unicode escape sequence
10 info: |
11 NumericLiteralSeparator::
12 _
13
14 DecimalIntegerLiteral::
15 ...
16 NonZeroDigit NumericLiteralSeparator_opt DecimalDigits
17
18 negative:
19 phase: parse
20 type: SyntaxError
21
22 features: [numeric-separator-literal]
23 ---*/
24
25 $DONOTEVALUATE();
26
27 1\u005F0123456789