Debian Codegraph @

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