diff --git a/test/Jamfile.v2 b/test/Jamfile.v2 index c363f38..9b62451 100644 --- a/test/Jamfile.v2 +++ b/test/Jamfile.v2 @@ -80,3 +80,4 @@ run protect_cpp20_test.cpp ; run bind_noexcept_mf2_test.cpp ; run std_placeholders_test.cpp ; run apply_test.cpp ; +run apply_test2.cpp ; diff --git a/test/apply_test2.cpp b/test/apply_test2.cpp new file mode 100644 index 0000000..0a39ca1 --- /dev/null +++ b/test/apply_test2.cpp @@ -0,0 +1,15 @@ +// Copyright 2021 Peter Dimov +// Distributed under the Boost Software License, Version 1.0. +// https://www.boost.org/LICENSE_1_0.txt + +#include +#include +#include + +int main() +{ + BOOST_TEST_TRAIT_TRUE((boost::core::is_same::result_type>)); + BOOST_TEST_TRAIT_TRUE((boost::core::is_same::result_type>)); + + return boost::report_errors(); +}