rust/src/test/ui/issues/issue-26997.rs
2019-11-13 17:00:47 +01:00

15 lines
181 B
Rust

// build-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() {}