Debian Codegraph @

tests/auto/qml/ecmascripttests/test262/test/language/expressions/async-arrow-function/escaped-async.js

raw
1 // Copyright (C) 2017 André Bargull. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3
4 /*---
5 esid: sec-grammar-notation
6 description: >
7 The `async` contextual keyword must not contain Unicode escape sequences.
8 info: |
9 Terminal symbols of the lexical, RegExp, and numeric string grammars are shown
10 in fixed width font, both in the productions of the grammars and throughout this
11 specification whenever the text directly refers to such a terminal symbol. These
12 are to appear in a script exactly as written. All terminal symbol code points
13 specified in this way are to be understood as the appropriate Unicode code points
14 from the Basic Latin range, as opposed to any similar-looking code points from
15 other Unicode ranges.
16 negative:
17 phase: parse
18 type: SyntaxError
19 features: [async-functions]
20 ---*/
21
22 throw "Test262: This statement should not be evaluated.";
23
24 \u0061sync () => {}