1 #[cxx::bridge] 2 mod ffi { 3 enum Good1 { 4 A = 0xFFFF_FFFF_FFFF_FFFF, 5 } 6 enum Good2 { 7 B = 0xFFFF_FFFF_FFFF_FFFF, 8 C = 2020, 9 } 10 enum Bad { 11 D = 0xFFFF_FFFF_FFFF_FFFE, 12 E, 13 F, 14 } 15 } 16 main()17 fn main() {} 18