test262/test/language/comments/single-line-html-close-with...

24 lines
614 B
JavaScript
Raw Normal View History

// Copyright (C) 2016 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-html-like-comments
2018-10-26 23:11:05 +02:00
description: An HTMLCloseComment must be preceded by a LineTerminator
info: |
Comment ::
MultiLineComment
SingleLineComment
SingleLineHTMLOpenComment
SingleLineHTMLCloseComment
SingleLineDelimitedComment
HTMLCloseComment ::
WhiteSpaceSequence[opt] SingleLineDelimitedCommentSequence[opt] --> SingleLineCommentChars[opt]
negative:
phase: parse
type: SyntaxError
---*/
$DONOTEVALUATE();
;-->