make test work in llvm 9

This commit is contained in:
Erik Desjardins 2020-11-30 01:21:47 -05:00
parent 0183b4109a
commit 53943d6deb

View File

@ -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 }