rust/src/test/run-pass/export-non-interference3.rs

14 lines
133 B
Rust

mod foo {
export x;
fn x() { bar::x(); }
}
mod bar {
export x;
fn x() { #debug("x"); }
}
fn main() { foo::x(); }