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