summaryrefslogtreecommitdiffstats
path: root/tests/ui/attributes/issue-40962.rs
blob: 7b91c06819f056c8d1e86d676f580bebce5b39c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
// check-pass
macro_rules! m {
    ($i:meta) => {
        #[derive($i)]
        struct S;
    }
}

m!(Clone);

fn main() {}