Debian Codegraph @

js/src/tests/test262/language/literals/regexp/u-unicode-esc-bounds.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 description: Out-of-range value of hexadecimal digits in UnicodeEscapeSequence
7 es6id: 21.2.1.1
8 info: |
9 21.2.1.1 Static Semantics: Early Errors
10
11 RegExpUnicodeEscapeSequence :: u{ HexDigits }
12
13 - It is a Syntax Error if the MV of HexDigits > 1114111.
14 negative:
15 phase: parse
16 type: SyntaxError
17 ---*/
18
19 $DONOTEVALUATE();
20
21 /\u{110000}/u;