summaryrefslogtreecommitdiffstats
path: root/src/test/ui/conditional-compilation/issue-34028.rs
blob: d761c0c823bcd2e4616e25737004c416d46de1d8 (plain)
1
2
3
4
5
6
7
8
9
10
// check-pass

macro_rules! m {
    () => { #[cfg(any())] fn f() {} }
}

trait T {}
impl T for () { m!(); }

fn main() {}