Sign in
android
/
toolchain
/
rustc
/
983137f038c4d4b95a0cd86b7c42d0313b50de67
/
.
/
src
/
test
/
ui
/
issues
/
issue-38763.rs
blob: a966cf217e1655cc6f0a66ca1ea121647f23901f [
file
] [
log
] [
blame
]
// run-pass
// ignore-emscripten
#[
repr
(
C
)]
pub
struct
Foo
(
i128
);
#[
no_mangle
]
#[
allow
(
improper_ctypes_definitions
)]
pub
extern
"C"
fn
foo
(
x
:
Foo
)
->
Foo
{
x
}
fn
main
()
{
foo
(
Foo
(
1
));
}