2015-06-12 20:36:02 +02:00
|
|
|
// 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 without any digits
|
|
|
|
info: >
|
|
|
|
BinaryIntegerLiteral ::
|
|
|
|
0b BinaryDigits
|
|
|
|
0B BinaryDigits
|
|
|
|
BinaryDigits ::
|
|
|
|
BinaryDigit
|
|
|
|
BinaryDigits BinaryDigit
|
|
|
|
BinaryDigit :: one of
|
|
|
|
0 1
|
2016-01-31 00:57:28 +01:00
|
|
|
negative:
|
|
|
|
phase: early
|
|
|
|
type: SyntaxError
|
2015-06-12 20:36:02 +02:00
|
|
|
---*/
|
|
|
|
|
2017-04-29 22:31:08 +02:00
|
|
|
throw "Test262: This statement should not be evaluated.";
|
|
|
|
|
2015-06-12 20:36:02 +02:00
|
|
|
0b;
|