test262/test/language/comments/hashbang/multi-line-comment.js

22 lines
504 B
JavaScript
Raw Normal View History

2018-12-03 22:55:42 +01:00
#!/*
throw "Test262: This statement should not be evaluated.";
2018-12-03 22:55:42 +01:00
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.
2018-12-03 22:55:42 +01:00
/*---
esid: pending
description: >
Hashbang comments should not interpret multi-line comments.
info: |
HashbangComment::
#! SingleLineCommentChars[opt]
flags: [raw]
negative:
phase: parse
type: SyntaxError
2019-02-05 18:46:27 +01:00
features: [hashbang]
---*/