chromium/third_party/rust/chromium_crates_io/vendor/cxx-1.0.126/tests/ui/enum_overflows.rs

#[cxx::bridge]
mod ffi {
    enum Good1 {
        A = 0xFFFF_FFFF_FFFF_FFFF,
    }
    enum Good2 {
        B = 0xFFFF_FFFF_FFFF_FFFF,
        C = 2020,
    }
    enum Bad {
        D = 0xFFFF_FFFF_FFFF_FFFE,
        E,
        F,
    }
}

fn main() {}