Debian Codegraph @

tests/auto/qml/ecmascripttests/test262/test/language/literals/regexp/S7.8.5_A1.2_T1.js

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