Debian Codegraph @

tests/auto/qml/ecmascripttests/test262/test/language/literals/regexp/S7.8.5_A1.2_T2.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: sec-literals-regular-expression-literals
6 info: |
7 RegularExpressionBody ::
8 RegularExpressionFirstChar RegularExpressionChars
9
10 RegularExpressionChars ::
11 [empty]
12 RegularExpressionChars RegularExpressionChar
13
14 RegularExpressionFirstChar ::
15 RegularExpressionNonTerminator but not one of * or \ or / or [
16
17 description: >
18 The first character of a regular expression may not be "\"
19 negative:
20 phase: parse
21 type: SyntaxError
22 ---*/
23
24 throw "Test262: This statement should not be evaluated.";
25
26 /\/