Debian Codegraph @

js/src/tests/test262/language/comments/hashbang/preceding-whitespace.js

raw
1 #!
2
3 // Copyright (C) 2019 Leo Balter. All rights reserved.
4 // This code is governed by the BSD license found in the LICENSE file.
5
6 /*---
7 esid: pending
8 description: >
9 Hashbang comments should only be allowed at the start of source texts and should not be preceded by whitespace.
10 info: |
11 HashbangComment::
12 #! SingleLineCommentChars[opt]
13 flags: [raw]
14 negative:
15 phase: parse
16 type: SyntaxError
17 features: [hashbang]
18 ---*/
19
20 throw "Test262: This statement should not be evaluated.";