5 typedef char layout_type[sizeof(T)]
6 __attribute ((aligned(__alignof(double))));
12 typedef char layout_type[sizeof(T)]
13 __attribute ((aligned(__alignof(T))));
17 template<bool> struct StaticAssert;
18 template<> struct StaticAssert<true> {};
20 StaticAssert<__alignof(X<double>) == __alignof(double)> d1;
21 StaticAssert<__alignof(Y<double>) == __alignof(double)> d2;