blob: 7aa7a23764e2757565034b0a2cbc40f12710609c [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: >
Non-existent property values must not be supported in Unicode property
escapes.
esid: sec-static-semantics-unicodematchproperty-p
negative:
phase: parse
type: SyntaxError
features: [regexp-unicode-property-escapes]
---*/
$DONOTEVALUATE();
/\\p{Script=FooBarBazInvalid}/u;