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.hpp> 8 #include <boost/vmd/is_identifier.hpp> 9 #include <boost/detail/lightweight_test.hpp> 10 main()11int main() 12 { 13 14 #if BOOST_PP_VARIADICS 15 16 #define JDATA somevalue 17 18 #define BOOST_VMD_REGISTER_zzz (zzz) 19 #define BOOST_VMD_DETECT_zzz_zzz 20 #define BOOST_VMD_REGISTER_somevalue (somevalue) 21 #define BOOST_VMD_DETECT_somevalue_somevalue 22 23 BOOST_VMD_ASSERT(BOOST_VMD_IS_IDENTIFIER(JDATA,zzz),BOOST_VMD_TEST_FAIL_IS_IDENTIFIER) 24 25 #endif 26 27 return boost::report_errors(); 28 29 } 30