Debian Codegraph @

tests/auto/qml/ecmascripttests/test262/test/language/literals/numeric/numeric-separator-literal-nzd-nsl-dds-leading-zero-err.js

raw
1 // Copyright (C) 2017 the V8 project authors. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3
4 /*---
5 esid: prod-NumericLiteralSeparator
6 description: NonZeroDigit NumericLiteralSeparator DecimalDigits
7 info: |
8 NumericLiteralSeparator ::
9 _
10
11 DecimalIntegerLiteral ::
12 ...
13 NonZeroDigit NumericLiteralSeparator DecimalDigits
14
15 NonZeroDigit :: one of
16 1 2 3 4 5 6 7 8 9
17
18 negative:
19 phase: early
20 type: SyntaxError
21
22 features: [numeric-separator-literal]
23 ---*/
24
25 throw "Test262: This statement should not be evaluated.";
26
27 0_0123456789