blob: 239a45dfc5c2dd2a17d75579b7f8d58b8859af74 [file] [log] [blame]
// 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 NonOctalDecimalIntegerLiteral
info: |
NumericLiteral ::
DecimalIntegerLiteral BigIntLiteralSuffix
https://github.com/tc39/proposal-bigint/issues/208
NumericLiteral ::
DecimalBigIntegerLiteral
DecimalBigIntegerLiteral ::
0 BigIntLiteralSuffix
NonZeroDigit DecimalDigits_opt BigIntLiteralSuffix
features: [BigInt]
negative:
phase: parse
type: SyntaxError
---*/
$DONOTEVALUATE();
0008n;