rust/tests/ui/modules/mod_dir_path2.rs
2024-02-16 20:02:50 +00:00

12 lines
164 B
Rust

//@ run-pass
#[path = "mod_dir_simple"]
mod pancakes {
#[path = "test.rs"]
pub mod syrup;
}
pub fn main() {
assert_eq!(pancakes::syrup::foo(), 10);
}