diff --git a/src/Magnum/Math/Test/UnitTest.cpp b/src/Magnum/Math/Test/UnitTest.cpp index 8234958df..0bbf1a7ed 100644 --- a/src/Magnum/Math/Test/UnitTest.cpp +++ b/src/Magnum/Math/Test/UnitTest.cpp @@ -79,10 +79,13 @@ void UnitTest::construct() { } void UnitTest::constructDefault() { - constexpr Sec b; + constexpr Sec a; + constexpr Sec b{ZeroInit}; + CORRADE_COMPARE(a, Sec(0.0f)); CORRADE_COMPARE(b, Sec(0.0f)); CORRADE_VERIFY(std::is_nothrow_default_constructible::value); + CORRADE_VERIFY((std::is_nothrow_constructible::value)); } void UnitTest::constructNoInit() {