#include <iostream>
#include <type_traits>
struct A
{
int x1234;
short x56;
char x7;
};
struct B : A
{
char x8;
};
int main() {
std::cout << sizeof(A) << ' ' << sizeof(B) << '\n';
std::cout << std::is_pod<A>::value << ' ' << std::is_pod<B>::value << '\n';
return 0;
}
ICAgICNpbmNsdWRlIDxpb3N0cmVhbT4KICAgICNpbmNsdWRlIDx0eXBlX3RyYWl0cz4KCiAgICBzdHJ1Y3QgQQogICAgewogICAgICAgIGludCAgIHgxMjM0OwogICAgICAgIHNob3J0IHg1NjsKICAgICAgICBjaGFyICB4NzsKICAgIH07CiAgICAgCiAgICBzdHJ1Y3QgQiA6IEEKICAgIHsKICAgICAgICBjaGFyIHg4OwogICAgfTsKICAgICAKICAgIGludCBtYWluKCkgewogICAgCXN0ZDo6Y291dCA8PCBzaXplb2YoQSkgPDwgJyAnIDw8IHNpemVvZihCKSA8PCAnXG4nOwogICAgIAogICAgCXN0ZDo6Y291dCA8PCBzdGQ6OmlzX3BvZDxBPjo6dmFsdWUgPDwgJyAnIDw8IHN0ZDo6aXNfcG9kPEI+Ojp2YWx1ZSA8PCAnXG4nOwogICAgIAogICAgCXJldHVybiAwOwogICAgfQ==