rust/src/test/auxiliary/xc_private_method_lib.rs
2013-05-03 20:01:42 -04:00

10 lines
103 B
Rust

#[crate_type="lib"];
pub struct Foo {
x: int
}
impl Foo {
fn new() -> Foo { Foo { x: 1 } }
}