()
| 746 | } |
| 747 | |
| 748 | #[test] |
| 749 | fn hll_negative_integer_inits() { |
| 750 | // Negative literals and literal arithmetic adopt the declared i64 width with |
| 751 | // no explicit cast. |
| 752 | let (_, outcome, _) = run_hll( |
| 753 | r#" |
| 754 | neg_one: () -> i64 { |
| 755 | return -1 |
| 756 | } |
| 757 | main: () -> i32 { |
| 758 | a: i64 = -42 |
| 759 | b: i64 = 0 - 1 |
| 760 | c: i64 = a * b |
| 761 | d: i64 = neg_one() |
nothing calls this directly
no test coverage detected