summary refs log tree commit diff
path: root/src/test/run-pass/module-polymorphism4.rc
blob: 4cb7acf8f03b7e5de5ab4c600f2f8dd6359f3bcd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32

#[path = "module-polymorphism4-files"]
mod cat {
    #[legacy_exports];

    use inst::*;

    #[path = "cat.rs"]
    #[legacy_exports]
    mod inst;

    #[path = "trait_.rs"]
    #[legacy_exports]
    mod trait_;

}

#[path = "module-polymorphism4-files"]
mod dog {
    #[legacy_exports];

    use inst::*;

    #[path = "dog.rs"]
    #[legacy_exports]
    mod inst;

    #[path = "trait_.rs"]
    #[legacy_exports]
    mod trait_;

}