3 enum class EnumVals
: uint16_t { VAL0
= 0 };
9 int main(int argc
, char const *argv
[], char const *envp
[]) {
10 Foo f
{.b
= static_cast<EnumVals
>(8)};
11 return 0; //% b = self.frame().FindVariable("f").GetChildMemberWithName("b")
12 //% val = b.GetValueAsUnsigned()
13 //% self.assertEqual(val, 8, "Bit-field not correctly extracted")