Debian Codegraph @

js/src/tests/test262/language/literals/regexp/named-groups/forward-reference.js

raw
1 // Copyright 2017 the V8 project authors. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3
4 /*---
5 description: Named groups can be forward references.
6 esid: sec-atomescape
7 features: [regexp-named-groups]
8 ---*/
9
10 assert(/\k<a>(?<a>x)/.test("x"));
11
12 reportCompare(0, 0);