// PR c++/10179 struct __attribute((aligned(__alignof(double)))) A { /* empty */ }; struct T : public A { char c; }; template struct StaticAssert; template<> struct StaticAssert {}; StaticAssert<__alignof(T) == __alignof(double)> d;