aboutsummaryrefslogtreecommitdiff
path: root/test/bun.js/exit-code-await-throw-1.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/bun.js/exit-code-await-throw-1.js')
-rw-r--r--test/bun.js/exit-code-await-throw-1.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/bun.js/exit-code-await-throw-1.js b/test/bun.js/exit-code-await-throw-1.js
new file mode 100644
index 000000000..6b8c42eab
--- /dev/null
+++ b/test/bun.js/exit-code-await-throw-1.js
@@ -0,0 +1,3 @@
+await (async function () {
+ throw 42;
+})();