rust/tests/ui/modules/mod_dir_path_multi.rs
2023-04-03 09:24:11 +02:00

17 lines
237 B
Rust

// run-pass
#[path = "mod_dir_simple"]
mod biscuits {
pub mod test;
}
#[path = "mod_dir_simple"]
mod gravy {
pub mod test;
}
pub fn main() {
assert_eq!(biscuits::test::foo(), 10);
assert_eq!(gravy::test::foo(), 10);
}