#include <iostream>
using namespace std;
enum class foo: uint8_t {bla1, bla2, bla3};
int main() {
foo x = foo::bla2;
switch (x) {
case foo::bla1: cout << "bla1\n"; break;
case foo::bla2: cout << "bla2\n"; break;
case foo::bla3: cout << "bla3\n"; break;
}
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKZW51bSBjbGFzcyBmb286IHVpbnQ4X3Qge2JsYTEsIGJsYTIsIGJsYTN9OwoKaW50IG1haW4oKSB7Cglmb28geCA9IGZvbzo6YmxhMjsKCQoJc3dpdGNoICh4KSB7CgkJY2FzZSBmb286OmJsYTE6IGNvdXQgPDwgImJsYTFcbiI7IGJyZWFrOwoJCWNhc2UgZm9vOjpibGEyOiBjb3V0IDw8ICJibGEyXG4iOyBicmVhazsKCQljYXNlIGZvbzo6YmxhMzogY291dCA8PCAiYmxhM1xuIjsgYnJlYWs7Cgl9CglyZXR1cm4gMDsKfQ==