test262/test/language/comments/hashbang/escaped-bang-041.js

17 lines
328 B
JavaScript

#\041
/*---
esid: pending
description: >
Hashbang comments should not be allowed to have encoded characters \041
info: |
HashbangComment::
#! SingleLineCommentChars[opt]
flags: [raw]
negative:
phase: parse
type: SyntaxError
features: [hashbang]
---*/
throw "Test262: This statement should not be evaluated.";