]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/vmd/test/test_equal_type.cxx
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / libs / vmd / test / test_equal_type.cxx
1
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).
6
7 #include <boost/vmd/equal.hpp>
8 #include <boost/vmd/not_equal.hpp>
9 #include <boost/detail/lightweight_test.hpp>
10
11 int main()
12 {
13
14 #if BOOST_PP_VARIADICS
15
16 #define ATYPE BOOST_VMD_TYPE_TUPLE
17 #define ATYPE2 BOOST_VMD_TYPE_NUMBER
18 #define ATYPE3 BOOST_VMD_TYPE_TUPLE
19
20 BOOST_TEST(BOOST_VMD_EQUAL(ATYPE,ATYPE3));
21 BOOST_TEST(BOOST_VMD_NOT_EQUAL(ATYPE,ATYPE2));
22
23 #else
24
25 BOOST_ERROR("No variadic macro support");
26
27 #endif
28
29 return boost::report_errors();
30
31 }