tests/auto/qml/ecmascripttests/test262/test/language/expressions/template-literal/invalid-legacy-octal-escape-sequence.js
raw symbols SCIP| 1 | // Copyright (C) 2014 the V8 project authors. All rights reserved. |
| 2 | // This code is governed by the BSD license found in the LICENSE file. |
| 3 | /*--- |
| 4 | es6id: 16.1 |
| 5 | description: Invalid octal escape sequence |
| 6 | info: | |
| 7 | TemplateCharacter (11.8.6) must not be extended to include |
| 8 | LegacyOctalEscapeSequence as defined in B.1.2. |
| 9 | negative: |
| 10 | phase: parse |
| 11 | type: SyntaxError |
| 12 | ---*/ |
| 13 | |
| 14 | throw "Test262: This statement should not be evaluated."; |
| 15 | |
| 16 | `\00`; |