Debian Codegraph @

js/src/tests/test262/language/literals/regexp/S7.8.5_A1.5_T3.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-RegularExpressionBackslashSequence
7 info: |
8 RegularExpressionBackslashSequence ::
9 \ RegularExpressionNonTerminator
10
11 RegularExpressionNonTerminator ::
12 SourceCharacter but not LineTerminator
13
14 description: >
15 A RegularExpressionBackslashSequence may not contain a <CR>
16 negative:
17 phase: parse
18 type: SyntaxError
19 ---*/
20
21 $DONOTEVALUATE();
22
23 /\
24 /