test262/test/language/comments/hashbang/preceding-line-comment.js

18 lines
331 B
JavaScript
Raw Normal View History

2018-12-03 22:55:42 +01:00
//
#!
/*---
esid: pending
description: >
Hashbang comments should only be allowed at the start of source texts and should not be preceded by line comments.
info: |
HashbangComment::
#! SingleLineCommentChars[opt]
flags: [raw]
negative:
phase: parse
type: SyntaxError
2019-02-05 18:46:27 +01:00
features: [hashbang]
2019-02-05 19:47:01 +01:00
---*/
$DONOTEVALUATE();