test262/test/language/comments/hashbang/preceding-directive-prologu...

18 lines
342 B
JavaScript
Raw Normal View History

2018-12-03 22:55:42 +01:00
"use strict"
#!
/*---
esid: pending
description: >
Hashbang comments should only be allowed at start of source texts and should not be preceded by DirectivePrologues.
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();