Debian Codegraph @

js/src/tests/test262/language/literals/numeric/numeric-followed-by-ident.js

raw
1 // |reftest| error:SyntaxError
2 // Copyright (C) 2018 Mozilla. All rights reserved.
3 // This code is governed by the BSD license found in the LICENSE file.
4
5 /*---
6 esid: sec-literals-numeric-literals
7 description: >
8 NumericLiteral followed by IdentifierStart
9 info: |
10 The source character immediately following a NumericLiteral must not be an IdentifierStart or DecimalDigit.
11
12 negative:
13 phase: parse
14 type: SyntaxError
15 ---*/
16
17 $DONOTEVALUATE();
18
19 3in []