test262/test/language/literals/string/legacy-octal-escape-sequence-prologue-strict.js
Leo Balter dec4e5df74
Merge pull request #1801 from mathiasbynens/issue-1634
Move `throw "…"` for negative parsing errors to a helper function
2018-11-13 17:23:09 -05:00

20 lines
394 B
JavaScript

// 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";
});