ZeroTierOne/zeroidc/vendor/bitflags/tests/compile-pass/repr/transparent.rs

11 lines
138 B
Rust

use bitflags::bitflags;
bitflags! {
#[repr(transparent)]
struct Flags: u32 {
const A = 0b00000001;
}
}
fn main() {}