blob: 1a96c490e11da01b08dce60fb95ecd3399f8126b [file] [log] [blame]
library test.bitsconstants;
type BitsType = strict bits : uint32 {
A = 0x00000001;
B = 0x80;
C = 0x2;
};
const Const1 BitsType = BitsType.A;
const Const2 BitsType = BitsType.A | BitsType.B;
const Const3 BitsType = BitsType.A | BitsType.B | BitsType.C;