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

17 lines
190 B
Rust
Raw Normal View History

2020-02-01 17:45:03 +00:00
// pp-exact
fn main() { }
struct C {
field: u8,
}
#[allow()]
const C: C =
C{
#[cfg(debug_assertions)]
field: 0,
2020-03-17 14:08:18 +00:00
#[cfg(not(debug_assertions))]
2020-02-01 17:45:03 +00:00
field: 1,};