rust/tests/run-make/split-debuginfo/foo.rs
2023-03-30 07:34:55 -05:00

16 lines
173 B
Rust

pub struct Foo {
x: u32,
}
impl Foo {
pub fn print(&self) {
println!("{}", self.x);
}
}
pub fn make_foo(x: u32) -> Foo {
Foo { x }
}
fn main() {}