]> git.lizzy.rs Git - rust.git/blob - src/test/pretty/issue-68710-field-attr-proc-mac-lost.rs
Merge commit 'd3a2366ee877075c59b38bd8ced55f224fc7ef51' into sync_cg_clif-2022-07-26
[rust.git] / src / test / pretty / issue-68710-field-attr-proc-mac-lost.rs
1 // pp-exact
2
3 fn main() {}
4
5 struct C {
6     field: u8,
7 }
8
9 #[allow()]
10 const C: C =
11     C {
12         #[cfg(debug_assertions)]
13         field: 0,
14
15         #[cfg(not(debug_assertions))]
16         field: 1,
17     };