diff --git a/src/test/basics/Number_test.cpp b/src/test/basics/Number_test.cpp index c0445d9ad0..311270a8e6 100644 --- a/src/test/basics/Number_test.cpp +++ b/src/test/basics/Number_test.cpp @@ -2271,7 +2271,7 @@ public: constexpr auto kMaxRep = Number::kMaxRep; // Both ToNearest and Downward should round to `below` - auto const actual = static_cast(kMaxRep) + 1; + auto constexpr actual = static_cast(kMaxRep) + 1; Number const below{static_cast(kMaxRep), 0}; Number const above{ false, static_cast(kMaxRep) + 3, 0, Number::Normalized{}};