// PR c++/88115 // { dg-do compile { target c++11 } } template struct integral_constant { static constexpr int value = __v; }; template using StdAlignOf = integral_constant; template using GCCAlignOf = integral_constant<__alignof__(T)>; static_assert(StdAlignOf::value == alignof(double), ""); static_assert(GCCAlignOf::value == __alignof__(double), "");