summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/language/comments/hashbang/multi-line-comment.js
blob: c6956b334eae4d73d93941a76bba111949e4b84c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/*
throw "Test262: This statement should not be evaluated.";
these characters should not be considered within a comment
*/

// 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 not interpret multi-line comments.
info: |
    HashbangComment::
      #! SingleLineCommentChars[opt]
flags: [raw]
negative:
  phase: parse
  type: SyntaxError
features: [hashbang]
---*/