diff options
Diffstat (limited to 'tests/ui/imports/import2-rpass.rs')
-rw-r--r-- | tests/ui/imports/import2-rpass.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/ui/imports/import2-rpass.rs b/tests/ui/imports/import2-rpass.rs new file mode 100644 index 000000000..7b70f799e --- /dev/null +++ b/tests/ui/imports/import2-rpass.rs @@ -0,0 +1,9 @@ +// run-pass + +use zed::bar; + +mod zed { + pub fn bar() { println!("bar"); } +} + +pub fn main() { bar(); } |