summaryrefslogtreecommitdiff
path: root/cli/tests/error_019_stack_function.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/error_019_stack_function.ts')
-rw-r--r--cli/tests/error_019_stack_function.ts10
1 files changed, 0 insertions, 10 deletions
diff --git a/cli/tests/error_019_stack_function.ts b/cli/tests/error_019_stack_function.ts
deleted file mode 100644
index c5eeae8f4..000000000
--- a/cli/tests/error_019_stack_function.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-function foo(): never {
- throw new Error("function");
-}
-
-try {
- foo();
-} catch (error) {
- console.log(error.stack);
- throw error;
-}