blob: 4e4aa9137aa5c45bb7df1b848212100ddedf06d7 [file] [log] [blame]
// Copyright (C) 2019 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: pending
description: >
Hashbang comments should only be allowed at the start of source texts and should not be allowed within function bodies.
info: |
HashbangComment::
#! SingleLineCommentChars[opt]
negative:
phase: parse
type: SyntaxError
features: [hashbang]
---*/
$DONOTEVALUATE();
function fn() {#!
}