diff --git a/clang/test/SemaCXX/ctad.cpp b/clang/test/SemaCXX/ctad.cpp index 1e4980cc124be..00a861d0f567c 100644 --- a/clang/test/SemaCXX/ctad.cpp +++ b/clang/test/SemaCXX/ctad.cpp @@ -79,7 +79,7 @@ using size_t = decltype(sizeof(0)); struct index_type { - size_t value{~0ull}; + size_t value = 0; index_type() = default; constexpr index_type(size_t i) noexcept : value(i) {} };