rust/tests/ui/modules/mod_dir_simple.rs

10 lines
123 B
Rust

//@ run-pass
mod mod_dir_simple {
pub mod test;
}
pub fn main() {
assert_eq!(mod_dir_simple::test::foo(), 10);
}