2 // { dg-do compile { target c++14 } }
4 using size_t = decltype(sizeof(0));
5 template <class T> struct element {
6 constexpr element() noexcept: x0(0), x1(0), x2(0), x3(0) {}
9 template <class T> struct container {
10 constexpr container() noexcept: data() {data = element<T>();}
13 template <class T> constexpr bool test() {
14 return (container<T>(), true);
17 constexpr bool tmp0 = test<int>();
18 constexpr bool tmp1 = test<size_t>();