Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
issues
/
issue-26997.rs
blob: 5441dc68bae6c008b3e8d6f66f5e7dde46e4b4d5 [
file
] [
log
] [
blame
] [
edit
]
//@ 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
()
{}