summaryrefslogtreecommitdiffstats
path: root/tests/ui/modules/mod_dir_path2.rs
blob: b4f8f1c84547cc16f7ae83d5fd7700bda8101a4b (plain)
1
2
3
4
5
6
7
8
9
10
11
// run-pass

#[path = "mod_dir_simple"]
mod pancakes {
    #[path = "test.rs"]
    pub mod syrup;
}

pub fn main() {
    assert_eq!(pancakes::syrup::foo(), 10);
}