diff --git a/qa/tests/common/test_ki_any.cpp b/qa/tests/common/test_ki_any.cpp index 63d7a5fc7d..78ba7c5bc9 100644 --- a/qa/tests/common/test_ki_any.cpp +++ b/qa/tests/common/test_ki_any.cpp @@ -483,9 +483,6 @@ BOOST_AUTO_TEST_CASE( Construction_InPlace_2 ) { auto a = any(std::in_place_type, 5); BOOST_CHECK( any_cast(any_cast(a)) == 5 ); - - auto b = any(std::in_place_type, {1}); - (void) any_cast>(any_cast(b)); }