test262/test/language/comments/hashbang/preceding-empty-statement.js

17 lines
332 B
JavaScript

;#!
/*---
esid: pending
description: >
Hashbang comments should only be allowed at the start of source texts and should not be preceded by empty statements.
info: |
HashbangComment::
#! SingleLineCommentChars[opt]
flags: [raw]
negative:
phase: parse
type: SyntaxError
features: [hashbang]
---*/
$DONOTEVALUATE();