mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
14 lines
215 B
Rust
14 lines
215 B
Rust
//@ known-bug: #121444
|
|
//@ compile-flags: -Copt-level=0
|
|
//@ edition:2021
|
|
//@ only-x86_64
|
|
//@ ignore-windows
|
|
#[repr(align(536870912))]
|
|
pub struct A(i64);
|
|
|
|
pub extern "C" fn foo(x: A) {}
|
|
|
|
fn main() {
|
|
foo(A(0));
|
|
}
|