Debian Codegraph @

js/src/tests/test262/language/statements/async-function/syntax-declaration-line-terminators-allowed.js

raw
1 // Copyright 2016 Microsoft, Inc. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3
4 /*---
5 author: Brian Terlson <[email protected]>
6 esid: pending
7 description: >
8 Declarations allow line breaks after function and after arguments list
9 ---*/
10
11 async function
12 foo()
13 {
14
15 }
16
17 assert(foo instanceof Function);
18
19 reportCompare(0, 0);