diff --git a/test/tuple_for_each.cpp b/test/tuple_for_each.cpp index 325a51e..97de4a7 100644 --- a/test/tuple_for_each.cpp +++ b/test/tuple_for_each.cpp @@ -36,6 +36,9 @@ int main() } } +#if defined( __clang_major__ ) && __clang_major__ == 3 && __clang_minor__ < 8 +#else + { std::tuple, std::unique_ptr, std::unique_ptr> tp{ std::unique_ptr(new int(1)), std::unique_ptr(new int(2)), std::unique_ptr(new int(3)) }; @@ -46,6 +49,8 @@ int main() BOOST_TEST_EQ( s, 123 ); } +#endif + { std::pair tp{ 1, 2 };