// Allow static_assert in constexpr constructors, too. // { dg-do compile { target c++11 } } template struct A { int i; constexpr A(int i) : i(i) { static_assert(sizeof(T) == 1, ""); } };