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

17 lines
332 B
JavaScript

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