test_doc_empty_fail8.cxx 622 B

123456789101112131415161718192021222324252627282930313233
  1. // (C) Copyright Edward Diener 2011-2015
  2. // Use, modification and distribution are subject to the Boost Software License,
  3. // Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
  4. // http://www.boost.org/LICENSE_1_0.txt).
  5. #include <boost/vmd/detail/setup.hpp>
  6. #include <boost/detail/lightweight_test.hpp>
  7. int main()
  8. {
  9. #if BOOST_PP_VARIADICS
  10. #if !BOOST_VMD_MSVC
  11. #define FMACRO1(parameter) FMACRO3 parameter()
  12. #define FMACRO2() ()
  13. #define FMACRO3() 1
  14. int x = FMACRO1(FMACRO2);
  15. #else
  16. typedef char BOOST_VMD_GENERATE_ERROR[-1];
  17. #endif
  18. #endif
  19. return boost::report_errors();
  20. }