Debian Codegraph @

tests/auto/qml/ecmascripttests/test262/test/language/literals/regexp/early-err-flags-unicode-escape.js

raw
1 // Copyright (C) 2016 the V8 project authors. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3 /*---
4 esid: sec-literals-regular-expression-literals-static-semantics-early-errors
5 info: |
6 RegularExpressionFlags ::
7 RegularExpressionFlags IdentifierPart
8
9 description: >
10 It is a Syntax Error if IdentifierPart contains a Unicode escape sequence.
11 negative:
12 phase: parse
13 type: SyntaxError
14 ---*/
15
16 throw "Test262: This statement should not be evaluated.";
17
18 /./\u0067;