summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/language/literals/regexp/early-err-flags-unicode-escape.js
blob: 618cc1685e51e4b619df7a5f12e8e6c7013f26f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// |reftest| error:SyntaxError
// Copyright (C) 2016 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-literals-regular-expression-literals-static-semantics-early-errors
info: |
  RegularExpressionFlags ::
    RegularExpressionFlags IdentifierPart

description: >
  It is a Syntax Error if IdentifierPart contains a Unicode escape sequence.
negative:
  phase: parse
  type: SyntaxError
---*/

$DONOTEVALUATE();

/./\u0067;