summaryrefslogtreecommitdiffstats
path: root/tests/ui/modules/mod_file.rs
blob: 7b56b99eb3acefe1c1076d7167cc5386660407f6 (plain)
1
2
3
4
5
6
7
8
9
// 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);
}