mirror of https://github.com/tc39/test262.git
20 lines
456 B
JavaScript
20 lines
456 B
JavaScript
|
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||
|
// This code is governed by the BSD license found in the LICENSE file.
|
||
|
|
||
|
/*---
|
||
|
es6id: 11.8.3
|
||
|
description: Binary-integer-literal-like sequence containing an invalid digit
|
||
|
info: >
|
||
|
BinaryIntegerLiteral ::
|
||
|
0b BinaryDigits
|
||
|
0B BinaryDigits
|
||
|
BinaryDigits ::
|
||
|
BinaryDigit
|
||
|
BinaryDigits BinaryDigit
|
||
|
BinaryDigit :: one of
|
||
|
0 1
|
||
|
negative: SyntaxError
|
||
|
---*/
|
||
|
|
||
|
0b2;
|