aboutsummaryrefslogtreecommitdiff
path: root/tests/data/parser/ok/0008_mod_item.rs
blob: d22993bc150f6f79670ca36cd931f1e76bcdbf32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
mod a;

mod b {
}

mod c {
    fn foo() {
    }
    struct S {}
}

mod d {
    #![attr]
    mod e;
    mod f {
    }
}