• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 
main()11 int main()
12   {
13 
14 #if BOOST_PP_VARIADICS
15 
16   #define ANUMBER 249
17   #define ANUMBER2 17
18   #define ANUMBER3 249
19 
20   BOOST_TEST(BOOST_VMD_EQUAL(ANUMBER,ANUMBER3));
21   BOOST_TEST(BOOST_VMD_NOT_EQUAL(ANUMBER,ANUMBER2));
22 
23 #else
24 
25 BOOST_ERROR("No variadic macro support");
26 
27 #endif
28 
29   return boost::report_errors();
30 
31   }
32