| 1 | fn f() i32 { |
| 2 | return @as(i32, return 1); |
| 3 | } |
| 4 | export fn entry() void { |
| 5 | _ = f(); |
| 6 | } |
| 7 | |
| 8 | // error |
| 9 | // |
| 10 | // :2:12: error: unreachable code |
| 11 | // :2:21: note: control flow is diverted here |
| 12 | // :2:5: error: unreachable code |
| 13 | // :2:12: note: control flow is diverted here |