summaryrefslogtreecommitdiffstats
path: root/vendor/bitflags/tests/compile-pass/repr/c.rs
blob: 6feba36ed82c138dc35243e938f3ea6f2821f9fa (plain)
1
2
3
4
5
6
7
8
9
10
use bitflags::bitflags;

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

fn main() {}