Sign in
android
/
toolchain
/
rustc
/
d720b3f2ba07cb42ff7b311589c99daefe3aaa22
/
.
/
tests
/
ui
/
issues
/
issue-26997.rs
blob: 3653e62732d419903da02616a1cebdc792632728 [
file
] [
log
] [
blame
]
// build-pass
#![
allow
(
dead_code
)]
pub
struct
Foo
{
x
:
isize
,
y
:
isize
}
impl
Foo
{
#[
allow
(
improper_ctypes_definitions
)]
pub
extern
"C"
fn
foo_new
()
->
Foo
{
Foo
{
x
:
21
,
y
:
33
}
}
}
fn
main
()
{}