summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/language/expressions/template-literal/invalid-legacy-octal-escape-sequence-8.js
blob: 08489d46cf5bfbfbe3ffe74e14eb291b4754c946 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// |reftest| error:SyntaxError
// Copyright (C) 2020 Sony Interactive Entertainment Inc. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-template-literal-lexical-components
description: >
    Invalid octal escape sequence (regardless of the presence of Annex B)
info: |
    A conforming implementation must not use the extended definition of
    EscapeSequence described in B.1.2 when parsing a TemplateCharacter.
negative:
  phase: parse
  type: SyntaxError
---*/

$DONOTEVALUATE();

`\8`;