Debian Codegraph @

js/src/tests/test262/language/literals/numeric/numeric-separators/numeric-separator-literal-dds-nsl-dds-dunder-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 another
9 NumericLiteralSeparator in DecimalIntegerLiteral
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 10__0123456789