test262/test/built-ins/RegExp/property-escapes/unsupported-property-Block-...

19 lines
453 B
JavaScript
Raw Normal View History

// Copyright 2018 Mathias Bynens. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
author: Mathias Bynens
description: >
Properties not explicitly listed in the Unicode property escapes spec must
not be supported.
esid: sec-static-semantics-unicodematchproperty-p
negative:
phase: parse
type: SyntaxError
features: [regexp-unicode-property-escapes]
---*/
$DONOTEVALUATE();
/\P{Block=Adlam}/u;