Debian Codegraph @

js/src/tests/test262/language/literals/numeric/numeric-separators/numeric-separator-literal-dil-dot-dds-nsl-ep-dd-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 NumericLiteralSeparator may not appear adjacent to ExponentPart
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: parse
22 type: SyntaxError
23
24 features: [numeric-separator-literal]
25 ---*/
26
27 $DONOTEVALUATE();
28
29 10.0_e1