diff --git a/test/mp_count.cpp b/test/mp_count.cpp index 41df7dd..f172274 100644 --- a/test/mp_count.cpp +++ b/test/mp_count.cpp @@ -7,6 +7,12 @@ // http://www.boost.org/LICENSE_1_0.txt +#include + +#if BOOST_MP11_MSVC +# pragma warning( disable: 4503 ) // decorated name length exceeded +#endif + #include #include #include @@ -59,5 +65,16 @@ int main() BOOST_TEST_TRAIT_TRUE((std::is_same, mp_size_t<1>>)); } + { + using boost::mp11::mp_repeat_c; + + int const N = 1089; + + using L = mp_repeat_c, N>; + using R = mp_count; + + BOOST_TEST_TRAIT_TRUE((std::is_same>)); + } + return boost::report_errors(); }