mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
13 lines
186 B
Zig
13 lines
186 B
Zig
export fn a() void {
|
|
return;
|
|
b();
|
|
}
|
|
|
|
fn b() void {}
|
|
|
|
// error
|
|
// backend=stage2
|
|
// target=native
|
|
//
|
|
// :3:6: error: unreachable code
|
|
// :2:5: note: control flow is diverted here
|