rust/src/test/ui/issues/issue-26997.rs
2019-07-03 06:30:28 +09:00

15 lines
218 B
Rust

// build-pass (FIXME(62277): could be check-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() {}