summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/language/literals/regexp/u-unicode-esc-bounds.js
blob: 72e5190381723bea92f780a91e60372dc21980bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// |reftest| error:SyntaxError
// Copyright (C) 2015 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
description: Out-of-range value of hexadecimal digits in UnicodeEscapeSequence
es6id: 21.2.1.1
info: |
    21.2.1.1 Static Semantics: Early Errors

    RegExpUnicodeEscapeSequence :: u{ HexDigits }

        - It is a Syntax Error if the MV of HexDigits > 1114111.
negative:
  phase: parse
  type: SyntaxError
---*/

$DONOTEVALUATE();

/\u{110000}/u;