blob: da54bd9386b34148c522bd3afc117f2ef0329715 [file] [log] [blame]
// PR c++/10179
struct __attribute((aligned(__alignof(double)))) A
{ /* empty */ };
struct T : public A
{
char c;
};
template<bool> struct StaticAssert;
template<> struct StaticAssert<true> {};
StaticAssert<__alignof(T) == __alignof(double)> d;