summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/language/literals/string/legacy-octal-escape-sequence-prologue-strict.js
blob: 5c769817e7b9da1cf568f384bd7be8e0403ae333 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// |reftest| error:SyntaxError
// Copyright (c) 2012 Ecma International.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
es5id: 7.8.4-1-s
description: >
    A directive preceding an 'use strict' directive may not contain
    an OctalEscapeSequence
negative:
  phase: parse
  type: SyntaxError
---*/

$DONOTEVALUATE();

(function() {
  "asterisk: \052";
  "use strict";
});