diff --git a/test/mp_valid.cpp b/test/mp_valid.cpp index 40ccbb8..15b57c3 100644 --- a/test/mp_valid.cpp +++ b/test/mp_valid.cpp @@ -25,6 +25,11 @@ template using add_pointer = T*; template using add_reference = T&; template using add_extents = T[]; +using boost::mp11::mp_quote; + +using QX = mp_quote; +using Q_add_pointer = mp_quote; + int main() { using boost::mp11::mp_valid; @@ -39,6 +44,11 @@ int main() BOOST_TEST_TRAIT_FALSE((mp_valid)); BOOST_TEST_TRAIT_FALSE((mp_valid)); + BOOST_TEST_TRAIT_FALSE((mp_valid)); + BOOST_TEST_TRAIT_TRUE((mp_valid)); + BOOST_TEST_TRAIT_FALSE((mp_valid)); + BOOST_TEST_TRAIT_FALSE((mp_valid)); + BOOST_TEST_TRAIT_FALSE((mp_valid)); BOOST_TEST_TRAIT_TRUE((mp_valid)); BOOST_TEST_TRAIT_TRUE((mp_valid)); @@ -48,6 +58,11 @@ int main() #endif BOOST_TEST_TRAIT_FALSE((mp_valid)); + BOOST_TEST_TRAIT_FALSE((mp_valid)); + BOOST_TEST_TRAIT_TRUE((mp_valid)); + BOOST_TEST_TRAIT_TRUE((mp_valid)); + BOOST_TEST_TRAIT_FALSE((mp_valid)); + #if !defined( BOOST_GCC ) || !BOOST_WORKAROUND( BOOST_GCC, < 70000 ) // g++ up to at least 6.3 doesn't like add_reference for some reason or other BOOST_TEST_TRAIT_FALSE((mp_valid));