// { dg-do compile { target c++11 } } template struct aligned_storage { using type __attribute__((aligned((Align)))) = char[Len]; }; template struct X { typename aligned_storage::type data; }; template struct StaticAssert; template<> struct StaticAssert {}; StaticAssert<__alignof (X) == __alignof (double)> dummy;