test262/test/language/comments/hashbang/escaped-hash-u0023.js

17 lines
332 B
JavaScript

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