Skip to content

Commit 7d450bb

Browse files
committed
Fix vec_pop_push_noop codegen test on wasm32-wasip1 target
1 parent b5ea631 commit 7d450bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: tests/codegen/vec_pop_push_noop.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ pub fn noop(v: &mut Vec<u8>) {
1616
// llvm-pre-19-same: void @llvm.assume
1717
// llvm-pre-19-NOT: grow_one
1818
// CHECK-NOT: call
19-
// CHECK: ret
19+
// CHECK: {{ret|[}]}}
2020
if let Some(x) = v.pop() {
2121
v.push(x)
2222
}

0 commit comments

Comments
 (0)