1 // bindgen-flags: --rustified-enum ".*" --with-derive-ord 2 3 enum A { 4 A0 = 0, 5 A1 = 1, 6 A2 = 2, 7 A3 = A0 - 1, 8 }; 9 10 enum B { 11 B0 = 1, 12 B1 = B0 + 3, 13 B2 = B0 + 2, 14 B3 = B0 - 2, 15 }; 16