Debian Codegraph @

tests/auto/qml/ecmascripttests/test262/test/language/literals/numeric/binary-invalid-digit.js

raw
1 // Copyright (C) 2015 the V8 project authors. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3
4 /*---
5 es6id: 11.8.3
6 description: Binary-integer-literal-like sequence containing an invalid digit
7 info: |
8 BinaryIntegerLiteral ::
9 0b BinaryDigits
10 0B BinaryDigits
11 BinaryDigits ::
12 BinaryDigit
13 BinaryDigits BinaryDigit
14 BinaryDigit :: one of
15 0 1
16 negative:
17 phase: parse
18 type: SyntaxError
19 ---*/
20
21 throw "Test262: This statement should not be evaluated.";
22
23 0b2;