Debian Codegraph @

tests/auto/qml/ecmascripttests/test262/test/language/literals/regexp/S7.8.5_A2.3_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: 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 <LF> as a SourceCharacter
25 negative:
26 phase: parse
27 type: SyntaxError
28 ---*/
29
30 throw "Test262: This statement should not be evaluated.";
31
32 /a
33 /