1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-29 16:30:56 -05:00
denoland-deno/tests/error_001.ts
2019-03-09 12:30:38 -05:00

9 lines
91 B
TypeScript

function foo(): never {
throw Error("bad");
}
function bar(): void {
foo();
}
bar();