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