summaryrefslogtreecommitdiffstats
path: root/src/test/ui/proc-macro/issue-53481.rs
blob: ae10a3baa3e3a5b0fe3778c75709dc997f04ff3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// build-pass (FIXME(62277): could be check-pass?)
// aux-build:test-macros.rs

#[macro_use]
extern crate test_macros;

mod m1 {
    use m2::Empty;

    #[derive(Empty)]
    struct A {}
}

mod m2 {
    pub type Empty = u8;

    #[derive(Empty)]
    #[empty_helper]
    struct B {}
}

fn main() {}