Debian Codegraph @

tests/auto/qml/ecmascripttests/test262/test/annexB/language/expressions/template-literal/legacy-octal-escape-sequence-strict.js

raw
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: 12.2.8
5 description: >
6 The expression within the template should be evaluated according to the
7 semantics of the surrounding context.
8 The SV of EscapeSequence :: HexEscapeSequence is the SV of the
9 HexEscapeSequence.
10 negative:
11 phase: parse
12 type: SyntaxError
13 flags: [onlyStrict]
14 ---*/
15
16 throw "Test262: This statement should not be evaluated.";
17
18 `${'\07'}`;