1 
2 //  (C) Copyright Edward Diener 2011-2015,2019
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/preprocessor/variadic/has_opt.hpp>
9 #include <boost/detail/lightweight_test.hpp>
10 
main()11 int main()
12   {
13 
14 #if BOOST_PP_VARIADICS
15 
16 #if !BOOST_VMD_MSVC && !BOOST_PP_VARIADIC_HAS_OPT()
17 
18   #define FMACRO(x,y) any_output
19 
20   BOOST_TEST(!BOOST_VMD_IS_EMPTY(FMACRO));
21 
22 #else
23 
24   typedef char BOOST_VMD_IS_EMPTY_ERROR[-1];
25 
26 #endif
27 
28 #endif
29 
30   return boost::report_errors();
31 
32   }
33