Debian Codegraph @

js/src/tests/test262/built-ins/RegExp/property-escapes/non-existent-binary-property.js

raw
1 // |reftest| error:SyntaxError
2 // Copyright 2018 Mathias Bynens. All rights reserved.
3 // This code is governed by the BSD license found in the LICENSE file.
4
5 /*---
6 author: Mathias Bynens
7 description: >
8 Non-existent properties must not be supported in Unicode property escapes.
9 esid: sec-static-semantics-unicodematchproperty-p
10 negative:
11 phase: parse
12 type: SyntaxError
13 features: [regexp-unicode-property-escapes]
14 ---*/
15
16 $DONOTEVALUATE();
17
18 /\p{UnknownBinaryProperty}/u;