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; |