rust/src/test/ui/issues/issue-26997.rs
2018-12-25 21:08:33 -07:00

15 lines
183 B
Rust

// compile-pass
#![allow(dead_code)]
pub struct Foo {
x: isize,
y: isize
}
impl Foo {
pub extern fn foo_new() -> Foo {
Foo { x: 21, y: 33 }
}
}
fn main() {}