summaryrefslogtreecommitdiff
path: root/cli/tests/top_level_await_bug.js
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/top_level_await_bug.js')
-rw-r--r--cli/tests/top_level_await_bug.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/cli/tests/top_level_await_bug.js b/cli/tests/top_level_await_bug.js
new file mode 100644
index 000000000..3c6860a5b
--- /dev/null
+++ b/cli/tests/top_level_await_bug.js
@@ -0,0 +1,2 @@
+const mod = await import("./top_level_await_bug_nested.js");
+console.log(mod);