Make test compatible with 32-bit

This commit is contained in:
Nikita Popov 2023-04-11 17:19:07 +02:00
parent ec635c002b
commit 83f525cc28

View File

@ -7,7 +7,7 @@
#[no_mangle]
pub fn test() -> usize {
// CHECK-LABEL: @test(
// CHECK: ret i64 165
// CHECK: ret {{i64|i32}} 165
let values = [23, 16, 54, 3, 60, 9];
let mut acc = 0;
for item in values {