granite-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 20:54:41 +03:00
// ignore-pretty issue #37195
2012-11-09 16:31:44 -08: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);
}