Debian Codegraph @

tests/auto/qml/ecmascripttests/test262/test/language/literals/regexp/u-unicode-esc-bounds.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 description: Out-of-range value of hexadecimal digits in UnicodeEscapeSequence
6 es6id: 21.2.1.1
7 info: |
8 21.2.1.1 Static Semantics: Early Errors
9
10 RegExpUnicodeEscapeSequence :: u{ HexDigits }
11
12 - It is a Syntax Error if the MV of HexDigits > 1114111.
13 negative:
14 phase: parse
15 type: SyntaxError
16 ---*/
17
18 throw "Test262: This statement should not be evaluated.";
19
20 /\u{110000}/u;