summaryrefslogtreecommitdiffstats
path: root/src/test/pretty/issue-68710-field-attr-proc-mac-lost.rs
blob: 80f739f4f9e1aa196be31d9ed4339a137caef71b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// pp-exact

fn main() {}

struct C {
    field: u8,
}

#[allow()]
const C: C =
    C {
        #[cfg(debug_assertions)]
        field: 0,

        #[cfg(not(debug_assertions))]
        field: 1,
    };