invalid-legacy-octal-escape-sequence.js (668B)
1 // |reftest| error:SyntaxError 2 // Copyright (C) 2014 the V8 project authors. All rights reserved. 3 // This code is governed by the BSD license found in the LICENSE file. 4 /*--- 5 es6id: 16.1 6 description: Invalid octal escape sequence 7 info: | 8 TemplateCharacter :: 9 $ [lookahead ≠ {] 10 \ TemplateEscapeSequence 11 \ NotEscapeSequence 12 LineContinuation 13 LineTerminatorSequence 14 SourceCharacter but not one of ` or \ or $ or LineTerminator 15 TemplateEscapeSequence :: 16 CharacterEscapeSequence 17 0 [lookahead ∉ DecimalDigit] 18 HexEscapeSequence 19 UnicodeEscapeSequence 20 negative: 21 phase: parse 22 type: SyntaxError 23 ---*/ 24 25 $DONOTEVALUATE(); 26 27 `\00`;