test183
auto test183 =
q{--- test183
// operations on enum types
enum F : u32 {
f1 = 0b01,
f2 = 0b10,
}
u32 run1() {
return F.f1 | F.f2;
}
F run2() {
return F.f1 | F.f2;
}
F run3(F a, F b) {
return a | b;
}
F run4(F a) {
return ~a;
}
};
tests passing
functionsvariables