summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/language/comments/hashbang/escaped-hash-u23.js
blob: 96859b568bf8886ba62ec23d4b10a548623199ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
\u{23}!

// Copyright (C) 2019 Leo Balter. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
esid: pending
description: >
    Hashbang comments should not be allowed to have encoded characters \u{23}
info: |
    HashbangComment::
      #! SingleLineCommentChars[opt]
flags: [raw]
negative:
  phase: parse
  type: SyntaxError
features: [hashbang]
---*/

throw "Test262: This statement should not be evaluated.";