Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
6af831ace693ed380c3dba78cf133ffdd6d460de
/
.
/
src
/
test
/
ui
/
issues
/
issue-26997.rs
blob: fcabd1d84557c70abe60cf8b02cd55ac5e228e4e [
file
] [
log
] [
blame
]
// build-pass
#![
allow
(
dead_code
)]
pub
struct
Foo
{
x
:
isize
,
y
:
isize
}
impl
Foo
{
#[
allow
(
improper_ctypes_definitions
)]
pub
extern
fn
foo_new
()
->
Foo
{
Foo
{
x
:
21
,
y
:
33
}
}
}
fn
main
()
{}