]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/vmd/test/test_assert_fail_list.cxx
2 // (C) Copyright Edward Diener 2011-2015
3 // Use, modification and distribution are subject to the Boost Software License,
4 // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
5 // http://www.boost.org/LICENSE_1_0.txt).
7 #include <boost/vmd/assert.hpp>
8 #include <boost/vmd/elem.hpp>
9 #include <boost/detail/lightweight_test.hpp>
10 #include <boost/preprocessor/comparison/equal.hpp>
11 #include <boost/preprocessor/tuple/elem.hpp>
16 #if BOOST_PP_VARIADICS
18 #define A_LIST_PLUS (mmf,(34,(^^,(!,BOOST_PP_NIL)))) 56
20 BOOST_VMD_ASSERT(BOOST_PP_EQUAL(BOOST_PP_TUPLE_ELEM(1,BOOST_VMD_ELEM(0,A_LIST_PLUS
,BOOST_VMD_RETURN_AFTER
,BOOST_VMD_TYPE_LIST
)),36),BOOST_VMD_TEST_FAIL_LIST
)
24 return boost::report_errors();