mirror of https://github.com/tc39/test262.git
19 lines
492 B
JavaScript
19 lines
492 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: >
|
|
Loose matching must not be applied when matching properties and values in
|
|
Unicode property escapes.
|
|
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{any}/u;
|