2017-07-11 17:55:23 +02:00
|
|
|
// Copyright (C) 2017 Robin Templeton. All rights reserved.
|
|
|
|
// This code is governed by the BSD license found in the LICENSE file.
|
|
|
|
|
|
|
|
/*---
|
|
|
|
description: Octal BigInt literal containing an invalid digit
|
2017-08-24 21:56:21 +02:00
|
|
|
esid: prod-NumericLiteral
|
|
|
|
info: |
|
|
|
|
NumericLiteral ::
|
|
|
|
NumericLiteralBase NumericLiteralSuffix
|
|
|
|
|
|
|
|
NumericLiteralBase ::
|
|
|
|
DecimalLiteral
|
|
|
|
BinaryIntegerLiteral
|
|
|
|
OctalIntegerLiteral
|
|
|
|
HexIntegerLiteral
|
|
|
|
|
|
|
|
NumericLiteralSuffix :: n
|
2017-07-11 17:55:23 +02:00
|
|
|
negative:
|
2017-12-03 06:06:42 +01:00
|
|
|
phase: parse
|
2017-07-11 17:55:23 +02:00
|
|
|
type: SyntaxError
|
2017-08-24 21:56:21 +02:00
|
|
|
features: [BigInt]
|
2017-07-11 17:55:23 +02:00
|
|
|
---*/
|
|
|
|
|
2018-10-11 16:59:24 +02:00
|
|
|
$DONOTEVALUATE();
|
2017-08-24 21:56:21 +02:00
|
|
|
|
2017-07-11 17:55:23 +02:00
|
|
|
0o9n;
|