mirror of
https://github.com/ziglang/zig.git
synced 2024-11-30 09:02:32 +00:00
10 lines
167 B
Zig
10 lines
167 B
Zig
fn deferInvalidExample() !void {
|
|
defer {
|
|
return error.DeferError;
|
|
}
|
|
|
|
return error.DeferError;
|
|
}
|
|
|
|
// test_error=cannot return from defer expression
|