test262/test/language/comments/hashbang/line-terminator-line-separa...

29 lines
637 B
JavaScript
Raw Normal View History

#! this comment ends with a Line Separator (U+2028){
}
// Copyright (C) 2019 Mike Pennisi. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: pending
description: >
Hashbang comments are terminated by the first LineTerminator: Line Separator
info: |
HashbangComment::
#! SingleLineCommentChars[opt]
SingleLineCommentChars::
SingleLineCommentChar SingleLineCommentChars[opt]
SingleLineCommentChar::
SourceCharacter but not LineTerminator
LineTerminator::
<LF>
<CR>
<LS>
<PS>
flags: [raw]
features: [hashbang]
---*/