blob: 41b74da2c685c9f9933c98bf0f14a0cbaa74fcbb [file] [log] [blame]
// Copyright 2018 Mathias Bynens. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
author: Mathias Bynens
description: >
This tests violations of the grammar starting here:
CharacterClassEscape[U]::
[+U] p{ UnicodePropertyValueExpression }
[+U] P{ UnicodePropertyValueExpression }
esid: prod-CharacterClassEscape
negative:
phase: parse
type: SyntaxError
features: [regexp-unicode-property-escapes]
---*/
$DONOTEVALUATE();
/\p{IsScript=Adlam}/u;