1 2 3 4 5 6 7 8 9
// run-pass mod mod_dir_simple { pub mod test; } pub fn main() { assert_eq!(mod_dir_simple::test::foo(), 10); }