Debian Codegraph @

js/src/tests/test262/language/literals/numeric/binary-invalid-unicode.js

raw
1 // |reftest| error:SyntaxError
2 // Copyright (C) 2015 the V8 project authors. All rights reserved.
3 // This code is governed by the BSD license found in the LICENSE file.
4
5 /*---
6 es6id: 11.8.3
7 description: Binary-integer-literal-like sequence expressed with unicode escape sequence
8 info: |
9 BinaryIntegerLiteral ::
10 0b BinaryDigits
11 0B BinaryDigits
12 BinaryDigits ::
13 BinaryDigit
14 BinaryDigits BinaryDigit
15 BinaryDigit :: one of
16 0 1
17 negative:
18 phase: parse
19 type: SyntaxError
20 ---*/
21
22 $DONOTEVALUATE();
23
24 0\u00620;