| 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-pattern-semantics |
| 5 |
es6id: 21.2.2 |
| 6 |
description: Out-of-bounds decimal escapes |
| 7 |
info: | |
| 8 |
1. Evaluate DecimalEscape to obtain an integer n. |
| 9 |
2. If n>NcapturingParens, throw a SyntaxError exception. |
| 10 |
|
| 11 |
When the "unicode" flag is set, this algorithm is honored irrespective of |
| 12 |
the presence of Annex B extensions. |
| 13 |
negative: |
| 14 |
phase: parse |
| 15 |
type: SyntaxError |
| 16 |
---*/ |
| 17 |
|
| 18 |
throw "Test262: This statement should not be evaluated."; |
| 19 |
|
| 20 |
/\8/u; |