aboutsummaryrefslogtreecommitdiff
path: root/tests/compile-pass/redefinition/core.rs
blob: 47549215948d11c0097c67a691180b7c9f30f7b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use bitflags::bitflags;

// Checks for possible errors caused by overriding names used by `bitflags!` internally.

mod core {}
mod _core {}

bitflags! {
    struct Test: u8 {
        const A = 1;
    }
}

fn main() {}