summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/language/literals/regexp/named-groups/invalid-non-id-start-groupspecifier-6.js
blob: bb2f21ee553bc08e10264e67e56f590cb5a57e3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// |reftest| error:SyntaxError
// Copyright 2017 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
description: GroupSpecifier must be identifier-like.
esid: prod-GroupSpecifier
negative:
  phase: parse
  type: SyntaxError
features: [regexp-named-groups]
---*/

$DONOTEVALUATE();

/(?<a\u{1F08B}>.)/;