summary refs log tree commit diff
path: root/src/test/run-pass/companionmod.rc
blob: f2547991d0c1a931eca3716312edfd347652a739 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// xfail-win32 don't understand what's wrong
// Test that crates and directory modules can contain code

#[path = "companionmod-src"]
mod a {
    mod b {
        mod x;
    }
    #[path = "d"]
    mod c {
        mod x;
    }
}