test262/test/annexB/language/expressions/template-literal/legacy-octal-escape-sequenc...

15 lines
442 B
JavaScript

// Copyright (C) 2014 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es6id: 12.2.8
description: >
The expression within the template should be evaluated according to the
semantics of the surrounding context.
The SV of EscapeSequence :: HexEscapeSequence is the SV of the
HexEscapeSequence.
negative: SyntaxError
flags: [onlyStrict]
---*/
`${'\07'}`;