mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 23:34:48 +00:00
18 lines
204 B
Rust
18 lines
204 B
Rust
//@ pp-exact
|
|
|
|
fn main() {}
|
|
|
|
struct C {
|
|
field: u8,
|
|
}
|
|
|
|
#[allow()]
|
|
const C: C =
|
|
C {
|
|
#[cfg(debug_assertions)]
|
|
field: 0,
|
|
|
|
#[cfg(not(debug_assertions))]
|
|
field: 1,
|
|
};
|