summaryrefslogtreecommitdiffstats
path: root/extra/bitflags-1.3.2/tests/compile-fail/impls/copy.rs
blob: 38f4822f5a5f270601790200f4e0f5976d1d5dd5 (plain)
1
2
3
4
5
6
7
8
9
10
use bitflags::bitflags;

bitflags! {
    #[derive(Clone, Copy)]
    struct Flags: u32 {
        const A = 0b00000001;
    }
}

fn main() {}