summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/language/literals/numeric/numeric-followed-by-ident.js
blob: d4b0d41529ba8c4fa79d44ad1b1b22de191d77a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// |reftest| error:SyntaxError
// Copyright (C) 2018 Mozilla. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
esid: sec-literals-numeric-literals
description: >
  NumericLiteral followed by IdentifierStart
info: |
  The source character immediately following a NumericLiteral must not be an IdentifierStart or DecimalDigit.

negative:
  phase: parse
  type: SyntaxError
---*/

$DONOTEVALUATE();

3in []