blob: 2cf22c2ca986117f5a2597069cdf00330c96a77d [file] [log] [blame]
// Copyright 2009 the Sputnik authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-literals-regular-expression-literals
info: |
RegularExpressionBody ::
RegularExpressionFirstChar RegularExpressionChars
RegularExpressionChars ::
[empty]
RegularExpressionChars RegularExpressionChar
RegularExpressionFirstChar ::
RegularExpressionNonTerminator but not one of * or \ or / or [
description: >
The first character of a regular expression may not be "\"
negative:
phase: parse
type: SyntaxError
---*/
$DONOTEVALUATE();
/\/