]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/vmd/test/test_doc_empty_fail4.cxx
a9e6ef13d1f7d9279801d8ef9217fb5531ed4181
[ceph.git] / ceph / src / boost / libs / vmd / test / test_doc_empty_fail4.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/is_empty.hpp>
8 #include <boost/detail/lightweight_test.hpp>
9
10 int main()
11 {
12
13 #if BOOST_PP_VARIADICS
14
15 #if !BOOST_VMD_MSVC
16
17 #define FMACRO(x,y) any_output
18
19 BOOST_TEST(!BOOST_VMD_IS_EMPTY(some_input FMACRO));
20
21 #else
22
23 typedef char BOOST_VMD_IS_EMPTY_ERROR[-1];
24
25 #endif
26
27 #endif
28
29 return boost::report_errors();
30
31 }