Sign in
android
/
toolchain
/
rustc
/
2f3fdfeb95384b9046ea35b3532e23c652eca660
/
.
/
src
/
test
/
ui
/
align-with-extern-c-fn.rs
blob: f77f40998de012ec0abdf81e11e41e59d453da54 [
file
] [
log
] [
blame
]
// run-pass
#![
allow
(
stable_features
)]
#![
allow
(
unused_variables
)]
// #45662
#![
feature
(
repr_align
)]
#[
repr
(
align
(
16
))]
pub
struct
A
(
i64
);
#[
allow
(
improper_ctypes_definitions
)]
pub
extern
"C"
fn
foo
(
x
:
A
)
{}
fn
main
()
{
foo
(
A
(
0
));
}