Debian Codegraph @

tests/auto/qml/ecmascripttests/test262/test/language/literals/numeric/numeric-separator-literal-dil-dot-nsl-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: >
7 NumericLiteralSeparator may not be the last digit character of a
8 DecimalLiteral
9 info: |
10 NumericLiteralSeparator ::
11 _
12
13 DecimalLiteral ::
14 DecimalIntegerLiteral . DecimalDigits_opt ExponentPart_opt
15
16 DecimalDigits ::
17 ...
18 DecimalDigits NumericLiteralSeparator DecimalDigit
19
20 negative:
21 phase: early
22 type: SyntaxError
23
24 features: [numeric-separator-literal]
25 ---*/
26
27 throw "Test262: This statement should not be evaluated.";
28
29 10._