test262/test/language/literals/regexp/named-groups/invalid-non-id-start-groups...

16 lines
343 B
JavaScript
Raw Normal View History

2018-11-06 00:12:23 +01:00
// 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]
---*/
2018-11-13 23:48:29 +01:00
$DONOTEVALUATE();
2018-11-06 00:12:23 +01:00
/(?<a\u{1F08B}>.)/;