summaryrefslogtreecommitdiffstats
path: root/tests/ui/modules/mod_dir_path_multi.rs
blob: 1c111294a337e736e1a2307d68339f50a174004d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// run-pass

#[path = "mod_dir_simple"]
mod biscuits {
    pub mod test;
}

#[path = "mod_dir_simple"]
mod gravy {
    pub mod test;
}

pub fn main() {
    assert_eq!(biscuits::test::foo(), 10);
    assert_eq!(gravy::test::foo(), 10);
}