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