]> git.lizzy.rs Git - rust.git/blob - tests/pretty/issue-68710-field-attr-proc-mac-lost.rs
Rollup merge of #107596 - Kobzol:stage-build-timer, r=Mark-Simulacrum
[rust.git] / tests / 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     };