Debian Codegraph @

js/src/tests/test262/language/literals/regexp/S7.8.5_A1.2_T1.js

raw
1 // |reftest| error:SyntaxError
2 // Copyright 2009 the Sputnik authors. All rights reserved.
3 // This code is governed by the BSD license found in the LICENSE file.
4
5 /*---
6 esid: prod-RegularExpressionFirstChar
7 info: |
8 RegularExpressionChars ::
9 [empty]
10 RegularExpressionCharsRegularExpressionChar
11
12 RegularExpressionFirstChar ::
13 RegularExpressionNonTerminator but not one of * or \ or / or [
14
15 description: >
16 The first character of a regular expression may not be "*"
17 negative:
18 phase: parse
19 type: SyntaxError
20 ---*/
21
22 $DONOTEVALUATE();
23
24 /*/