()
| 354 | x: i32 = 1 |
| 355 | if x == 1 { |
| 356 | x = 2 |
| 357 | } |
| 358 | return x |
| 359 | }"#; |
| 360 | compile_ok(source); |
| 361 | } |
| 362 | |
| 363 | // -- Function call lowering ---------------------------------------------------- |
| 364 | |
| 365 | #[test] |
| 366 | fn function_call_emits_call_instruction() { |
nothing calls this directly
no outgoing calls
no test coverage detected