test262/test/annexB/templates/legacy-octal-escape-sequenc...

15 lines
452 B
JavaScript

// Copyright (C) Copyright 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'}`;