From 37adad6624c5b9cac850aae9a5bb7de399522b35 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Thu, 26 Nov 2020 01:22:15 +0200 Subject: [PATCH] test/mp_count: test N=1089 --- test/mp_count.cpp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) 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(); }