rust/tests/pretty/issue-68710-field-attr-proc-mac-lost.rs

18 lines
204 B
Rust
Raw Normal View History

//@ pp-exact
2020-02-01 11:45:03 -06:00
2021-12-01 13:45:14 -06:00
fn main() {}
2020-02-01 11:45:03 -06:00
struct C {
field: u8,
}
#[allow()]
const C: C =
C {
#[cfg(debug_assertions)]
field: 0,
2020-02-01 11:45:03 -06:00
#[cfg(not(debug_assertions))]
field: 1,
};