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