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_identifier.hpp> 8 #include <boost/detail/lightweight_test.hpp> 9 main()10int main() 11 { 12 13 #if BOOST_PP_VARIADICS 14 15 #if BOOST_VMD_ASSERT_DATA 16 17 #define BOOST_VMD_REGISTER_zzz (zzz) 18 #define BOOST_VMD_DETECT_zzz_zzz 19 #define BOOST_VMD_REGISTER_somevalue (somevalue) 20 #define BOOST_VMD_DETECT_somevalue_somevalue 21 22 BOOST_VMD_ASSERT_IS_IDENTIFIER(zzz,somevalue) 23 24 #else 25 26 typedef char BOOST_VMD_IS_IDENTIFIER_ERROR[-1]; 27 28 #endif 29 30 #endif 31 32 return boost::report_errors(); 33 34 } 35