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.
19 lines
228 B
19 lines
228 B
4 months ago
|
struct base
|
||
|
{
|
||
|
enum mode : short { in, out, top, bottom };
|
||
|
enum state { pass, fail, unknown };
|
||
|
typedef long int_type;
|
||
|
};
|
||
|
|
||
|
struct B : public base
|
||
|
{
|
||
|
mode _M_type;
|
||
|
state _M_state;
|
||
|
};
|
||
|
|
||
|
int main()
|
||
|
{
|
||
|
B obj;
|
||
|
return 0;
|
||
|
}
|