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

19 lines
542 B
JavaScript

// Copyright 2018 Mathias Bynens. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
author: Mathias Bynens
description: >
Some binary properties used to be part of the Unicode property escapes
proposal but were later removed. They must not be supported.
esid: sec-static-semantics-unicodematchproperty-p
negative:
phase: parse
type: SyntaxError
features: [regexp-unicode-property-escapes]
---*/
throw "Test262: This statement should not be evaluated.";
/\P{Composition_Exclusion}/u;