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