summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/language/expressions/template-literal/invalid-legacy-octal-escape-sequence.js
blob: bf453e1f7762c8ca667f14e67971e445e1b2460e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// |reftest| error:SyntaxError
// Copyright (C) 2014 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es6id: 16.1
description: Invalid octal escape sequence
info: |
    TemplateCharacter (11.8.6) must not be extended to include
    LegacyOctalEscapeSequence as defined in B.1.2.
negative:
  phase: parse
  type: SyntaxError
---*/

$DONOTEVALUATE();

`\00`;