]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/vmd/test/test_assert_is_array_fail.cxx
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / libs / vmd / test / test_assert_is_array_fail.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/assert_is_array.hpp>
8 #include <boost/detail/lightweight_test.hpp>
9
10
11 int main()
12 {
13
14 #if BOOST_PP_VARIADICS
15
16 #if BOOST_VMD_ASSERT_DATA
17
18 BOOST_VMD_ASSERT_IS_ARRAY((y,(x,3,e,2)))
19
20 #else
21
22 typedef char BOOST_VMD_ASSERT_IS_ARRAY_ERROR[-1];
23
24 #endif
25
26 #endif
27
28 return boost::report_errors();
29
30 }