You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
243 B

struct base
{
enum mode : short { in, out, top, bottom };
enum state { pass, fail, unknown };
typedef long int_type;
};
struct A : public base
{
int_type _M_i;
int_type _M_n;
mode _M_type;
};
int main()
{
A obj;
return 0;
}