Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
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
));
}