rustc_trans: ignore trailing padding larger than 8 bytes.
This commit is contained in:
parent
da569fa9dd
commit
9b95e914a1
2 changed files with 10 additions and 10 deletions
|
|
@ -14,10 +14,10 @@
|
|||
#![feature(attr_literals)]
|
||||
|
||||
#[repr(align(16))]
|
||||
pub struct A {
|
||||
y: i64,
|
||||
}
|
||||
pub struct A(i64);
|
||||
|
||||
pub extern "C" fn foo(x: A) {}
|
||||
|
||||
fn main() {}
|
||||
fn main() {
|
||||
foo(A(0));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue