#include <iostream>
struct C
{
char x[8];
char y;
};
struct D
{
alignas(8) char x[8];
char y;
};
int main() {
std::cout << "C: " << sizeof(C) << " " << alignof(C) << "\n";
std::cout << "D: " << sizeof(D) << " " << alignof(D) << "\n";
}
I2luY2x1ZGUgPGlvc3RyZWFtPgoKc3RydWN0IEMKewoJY2hhciB4WzhdOwoJY2hhciB5Owp9OwoKCnN0cnVjdCBECnsKCWFsaWduYXMoOCkgY2hhciB4WzhdOwoJY2hhciB5Owp9OwoKaW50IG1haW4oKSB7CglzdGQ6OmNvdXQgPDwgIkM6ICIgPDwgc2l6ZW9mKEMpIDw8ICIgIiA8PCBhbGlnbm9mKEMpIDw8ICJcbiI7CglzdGQ6OmNvdXQgPDwgIkQ6ICIgPDwgc2l6ZW9mKEQpIDw8ICIgIiA8PCBhbGlnbm9mKEQpIDw8ICJcbiI7Cn0=