mirror of https://github.com/tc39/test262.git
19 lines
330 B
JavaScript
19 lines
330 B
JavaScript
/*---
|
|
esid: pending
|
|
description: >
|
|
Hashbang comments should only be allowed at the start of source texts and should not be allowed within blocks.
|
|
info: |
|
|
HashbangComment::
|
|
#! SingleLineCommentChars[opt]
|
|
flags: [raw]
|
|
negative:
|
|
phase: parse
|
|
type: SyntaxError
|
|
features: [hashbang]
|
|
---*/
|
|
|
|
$DONOTEVALUATE();
|
|
|
|
{
|
|
#!
|
|
} |