Files
ValueScript/inputs/passing/exceptions/tryFinally.ts
Andrew Morris ba68ef697a Test exceptions
2023-03-23 15:48:33 +11:00

10 lines
173 B
TypeScript

// test_output! E: Error{"message":"Something went wrong"}
export default function () {
try {
throw new Error("Something went wrong");
} finally {
1 + 1;
}
}