a1f67ad949
This reverts commit3f0e16473d
, reversing changes made to61a551b493
.
15 lines
181 B
Rust
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() {}
|