mirror of https://github.com/tc39/test262.git
29 lines
603 B
JavaScript
29 lines
603 B
JavaScript
|
// Copyright (C) 2019 Leo Balter. All rights reserved.
|
||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||
|
|
||
|
/*---
|
||
|
esid: prod-NumericLiteral
|
||
|
description: >
|
||
|
The BigInt suffix is disallowed in LegacyOctalIntegerLiteral
|
||
|
info: |
|
||
|
NumericLiteral ::
|
||
|
DecimalIntegerLiteral BigIntLiteralSuffix
|
||
|
NumericLiteralBase BigIntLiteralSuffix
|
||
|
LegacyOctalIntegerLiteral
|
||
|
|
||
|
NumericLiteralBase ::
|
||
|
BinaryIntegerLiteral
|
||
|
OctalIntegerLiteral
|
||
|
HexIntegerLiteral
|
||
|
|
||
|
BigIntLiteralSuffix :: n
|
||
|
features: [BigInt]
|
||
|
negative:
|
||
|
phase: parse
|
||
|
type: SyntaxError
|
||
|
---*/
|
||
|
|
||
|
$DONOTEVALUATE();
|
||
|
|
||
|
01n;
|