summaryrefslogtreecommitdiff
path: root/cli/tests/standalone_error.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/standalone_error.ts')
-rw-r--r--cli/tests/standalone_error.ts9
1 files changed, 9 insertions, 0 deletions
diff --git a/cli/tests/standalone_error.ts b/cli/tests/standalone_error.ts
new file mode 100644
index 000000000..279398113
--- /dev/null
+++ b/cli/tests/standalone_error.ts
@@ -0,0 +1,9 @@
+function boom() {
+ throw new Error("boom!");
+}
+
+function foo() {
+ boom();
+}
+
+foo();