summaryrefslogtreecommitdiff
path: root/tests/008_stack_trace.ts
diff options
context:
space:
mode:
Diffstat (limited to 'tests/008_stack_trace.ts')
-rw-r--r--tests/008_stack_trace.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/008_stack_trace.ts b/tests/008_stack_trace.ts
new file mode 100644
index 000000000..6aa0fcc3b
--- /dev/null
+++ b/tests/008_stack_trace.ts
@@ -0,0 +1,7 @@
+import { throwsError } from "./subdir/mod1.ts";
+
+function foo() {
+ throwsError();
+}
+
+foo();