Skip to content

Commit 2d3639d

Browse files
committed
tests: adapt for LLVM 21 changes
Per discussion in rust-lang#137799 we don't really need this readonly attribute, so let's just drop it so the test passes on LLVM 21. Fixes rust-lang#137799.
1 parent 2f58193 commit 2d3639d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Diff for: tests/codegen/issues/issue-114312.rs

-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ pub enum Expr {
1515
#[no_mangle]
1616
pub extern "C" fn issue_114312(expr: Expr) {
1717
// CHECK-LABEL: @issue_114312(
18-
// CHECK-NOT: readonly
1918
// CHECK-SAME: byval
2019
// CHECK-NEXT: start:
2120
// CHECK-NEXT: ret void

0 commit comments

Comments
 (0)