rust/tests/ui/modules/mod_file.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
196 B
Rust
Raw Normal View History

// run-pass
2016-10-12 17:54:41 +00:00
// ignore-pretty issue #37195
2012-11-10 00:31:44 +00:00
// 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);
}