legacy-octal-escape-sequence-strict-strict.js (529B)
1 // |reftest| error:SyntaxError 2 'use strict'; 3 // Copyright (C) 2014 the V8 project authors. All rights reserved. 4 // This code is governed by the BSD license found in the LICENSE file. 5 /*--- 6 es6id: 12.2.8 7 description: > 8 The expression within the template should be evaluated according to the 9 semantics of the surrounding context. 10 The SV of EscapeSequence :: HexEscapeSequence is the SV of the 11 HexEscapeSequence. 12 negative: 13 phase: parse 14 type: SyntaxError 15 flags: [onlyStrict] 16 ---*/ 17 18 $DONOTEVALUATE(); 19 20 `${'\07'}`;