diff options
Diffstat (limited to 'tests/run-make-fulldeps/split-debuginfo/bar.rs')
-rw-r--r-- | tests/run-make-fulldeps/split-debuginfo/bar.rs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/run-make-fulldeps/split-debuginfo/bar.rs b/tests/run-make-fulldeps/split-debuginfo/bar.rs new file mode 100644 index 000000000..07dd07152 --- /dev/null +++ b/tests/run-make-fulldeps/split-debuginfo/bar.rs @@ -0,0 +1,13 @@ +pub struct Bar { + x: u32, +} + +impl Bar { + pub fn print(&self) { + println!("{}", self.x); + } +} + +pub fn make_bar(x: u32) -> Bar { + Bar { x } +} |