blob: a35cfc159d08653a0920373f2d7f29d2c0f2bd94 [file] [log] [blame]
library fidl.test.bits;
type MyBits = strict bits : uint32 {
MY_FIRST_BIT = 1;
MY_OTHER_BIT = 2;
// check for any collisions between the bitmask and a "mask" member
MASK = 4;
};
type StrictBits = strict bits : uint64 {
SMALLEST = 1;
BIGGEST = 0x8000000000000000;
};
type FlexibleBits = flexible bits : uint64 {
SMALLEST = 1;
BIGGEST = 0x8000000000000000;
};