()
| 452 | IrInstruction::Unary { .. } |
| 453 | ))); |
| 454 | } |
| 455 | |
| 456 | #[test] |
| 457 | fn unary_not_emits_unary_instruction() { |
| 458 | let source = r#"main: () -> i32 { |
| 459 | flag: bool = true |
| 460 | inv: bool = !flag |
| 461 | if inv { |
| 462 | return 1 |
| 463 | } else { |
nothing calls this directly
no outgoing calls
no test coverage detected