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