mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 02:33:55 +00:00
11 lines
196 B
Rust
11 lines
196 B
Rust
// run-pass
|
|
// ignore-pretty issue #37195
|
|
|
|
// 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);
|
|
}
|