Skip to content

Commit

Permalink
make test work in llvm 9
Browse files Browse the repository at this point in the history
  • Loading branch information
erikdesjardins committed Nov 30, 2020
1 parent 0183b41 commit 53943d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/codegen/arg-return-value-in-reg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ pub struct S {
c: u32,
}

// CHECK: define i128 @modify(i128 %0)
// CHECK: define i128 @modify(i128{{( %0)?}})
#[no_mangle]
pub fn modify(s: S) -> S {
S { a: s.a + s.a, b: s.b + s.b, c: s.c + s.c }
Expand Down

0 comments on commit 53943d6

Please sign in to comment.