diff options
Diffstat (limited to 'tests/error_001.ts')
-rw-r--r-- | tests/error_001.ts | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/error_001.ts b/tests/error_001.ts new file mode 100644 index 000000000..624bc55da --- /dev/null +++ b/tests/error_001.ts @@ -0,0 +1,9 @@ +function foo() { + throw Error("bad"); +} + +function bar() { + foo() +} + +bar() |