Debian Codegraph @

js/src/tests/test262/language/comments/single-line-html-close-without-lt.js

raw
1 // |reftest| error:SyntaxError
2 // Copyright (C) 2016 the V8 project authors. All rights reserved.
3 // This code is governed by the BSD license found in the LICENSE file.
4 /*---
5 esid: sec-html-like-comments
6 description: An HTMLCloseComment must be preceded by a LineTerminator
7 info: |
8 Comment ::
9 MultiLineComment
10 SingleLineComment
11 SingleLineHTMLOpenComment
12 SingleLineHTMLCloseComment
13 SingleLineDelimitedComment
14
15 HTMLCloseComment ::
16 WhiteSpaceSequence[opt] SingleLineDelimitedCommentSequence[opt] --> SingleLineCommentChars[opt]
17 negative:
18 phase: parse
19 type: SyntaxError
20 ---*/
21
22 $DONOTEVALUATE();
23
24 ;-->