mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-10 15:45:16 +00:00
10 lines
166 B
Rust
10 lines
166 B
Rust
// run-pass
|
|
|
|
// Testing that a plain .rs file can load modules from other source files
|
|
|
|
mod mod_file_aux;
|
|
|
|
pub fn main() {
|
|
assert_eq!(mod_file_aux::foo(), 10);
|
|
}
|