mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
12 lines
164 B
Rust
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);
|
|
}
|