| 1 |
// Copyright (C) 2016 the V8 project authors. All rights reserved. |
| 2 |
// This code is governed by the BSD license found in the LICENSE file. |
| 3 |
/*--- |
| 4 |
esid: sec-patterns |
| 5 |
es6id: 21.2.1 |
| 6 |
description: > |
| 7 |
ClassEscape does not recognize "class control" patterns |
| 8 |
info: | |
| 9 |
ClassEscape[U] :: |
| 10 |
b |
| 11 |
[+U] - |
| 12 |
CharacterClassEscape |
| 13 |
CharacterEscape[?U] |
| 14 |
|
| 15 |
The `u` flag precludes the Annex B extension that enables this pattern. |
| 16 |
negative: |
| 17 |
phase: parse |
| 18 |
type: SyntaxError |
| 19 |
---*/ |
| 20 |
|
| 21 |
throw "Test262: This statement should not be evaluated."; |
| 22 |
|
| 23 |
/\c0/u; |