1struct base 2{ 3 enum mode : short { in, out, top, bottom }; 4 enum state { pass, fail, unknown }; 5 typedef long int_type; 6}; 7 8int main() 9{ 10 base obj; 11 return 0; 12} 13