Skip to content

Commit

Permalink
Merge pull request rust-lang#38 from emoon/26997
Browse files Browse the repository at this point in the history
26997
  • Loading branch information
steveklabnik committed Oct 24, 2015
2 parents 0f11b45 + 9519573 commit 3f58213
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/26997.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
pub struct Foo {
x: isize,
y: isize
}

impl Foo {
pub extern fn foo_new() -> Foo {
Foo { x: 21, y: 33 }
}
}

fn main() {
}

0 comments on commit 3f58213

Please sign in to comment.