test262/test/language/literals/regexp/named-groups/invalid-identity-escape-in-...

16 lines
332 B
JavaScript
Raw Normal View History

2018-11-05 23:58:03 +01:00
// Copyright 2017 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
2018-11-06 00:23:03 +01:00
description: GroupName is `< RegExpIdentifierName >`.
esid: prod-GroupName
2018-11-05 23:58:03 +01:00
negative:
phase: parse
type: SyntaxError
features: [regexp-named-groups]
---*/
2018-11-13 23:48:29 +01:00
$DONOTEVALUATE();
2018-11-05 23:58:03 +01:00
2018-11-06 00:23:03 +01:00
/(?<a>\a)/u;