Debian Codegraph @

js/src/tests/test262/language/comments/hashbang/line-terminator-line-separator.js

raw
1 #! this comment ends with a Line Separator (U+2028)
{
2 }
3
4 // Copyright (C) 2019 Mike Pennisi. All rights reserved.
5 // This code is governed by the BSD license found in the LICENSE file.
6
7 /*---
8 esid: pending
9 description: >
10 Hashbang comments are terminated by the first LineTerminator: Line Separator
11 info: |
12 HashbangComment::
13 #! SingleLineCommentChars[opt]
14
15 SingleLineCommentChars::
16 SingleLineCommentChar SingleLineCommentChars[opt]
17
18 SingleLineCommentChar::
19 SourceCharacter but not LineTerminator
20
21 LineTerminator::
22 <LF>
23 <CR>
24 <LS>
25 <PS>
26 flags: [raw]
27 features: [hashbang]
28 ---*/
29
30 reportCompare(0, 0);