mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-12 00:24:03 +00:00
18 lines
203 B
Rust
18 lines
203 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,
|
|
};
|