1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-04 08:54:20 -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();