fparkan/vendor/bitflags-1.3.2/tests/compile-pass/repr/transparent.rs

11 lines
138 B
Rust
Raw Normal View History

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