Debian Codegraph @

tests/auto/qml/ecmascripttests/test262/test/language/literals/regexp/S7.8.5_A2.3_T3.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 RegularExpressionChar ::
8 RegularExpressionBackslashSequence
9
10
11 RegularExpressionBackslashSequence ::
12 \ RegularExpressionNonTerminator
13
14 RegularExpressionNonTerminator ::
15 SourceCharacter but not LineTerminator
16
17 LineTerminator ::
18 <LF>
19 <CR>
20 <LS>
21 <PS>
22
23 description: >
24 A regular expression may not contain a <CR> as a SourceCharacter
25
26 negative:
27 phase: parse
28 type: SyntaxError
29 ---*/
30
31 throw "Test262: This statement should not be evaluated.";
32
33 /a
34 /