mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 08:13:41 +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,
|
|
};
|