Debian Codegraph @

js/src/tests/test262/language/comments/hashbang/escaped-hash-u23.js

raw
1 \u{23}!
2
3 // Copyright (C) 2019 Leo Balter. All rights reserved.
4 // This code is governed by the BSD license found in the LICENSE file.
5
6 /*---
7 esid: pending
8 description: >
9 Hashbang comments should not be allowed to have encoded characters \u{23}
10 info: |
11 HashbangComment::
12 #! SingleLineCommentChars[opt]
13 flags: [raw]
14 negative:
15 phase: parse
16 type: SyntaxError
17 features: [hashbang]
18 ---*/
19
20 throw "Test262: This statement should not be evaluated.";