Debian Codegraph @

js/src/tests/test262/language/module-code/top-level-await/module-graphs-does-not-hang.js

raw
1 // |reftest| module async
2 // Copyright (C) 2024 the V8 project authors. All rights reserved.
3 // This code is governed by the BSD license found in the LICENSE file.
4
5 /*---
6 description: Module graphs with Top-Level Await shouldn't hang.
7 flags: [module, async]
8 features: [top-level-await]
9 ---*/
10
11 import "./module-graphs-parent-tla_FIXTURE.js";
12 await import("./module-graphs-grandparent-tla_FIXTURE.js");
13
14 $DONE();