• 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/detail/setup.hpp>
8 #include <boost/detail/lightweight_test.hpp>
9 
main()10 int main()
11   {
12 
13 #if BOOST_PP_VARIADICS
14 
15 #if !BOOST_VMD_MSVC
16 
17   #define FMACRO1(parameter) FMACRO3 parameter()
18   #define FMACRO2() ()
19   #define FMACRO3() 1
20 
21   int x = FMACRO1(FMACRO2);
22 
23 #else
24 
25   typedef char BOOST_VMD_GENERATE_ERROR[-1];
26 
27 #endif
28 
29 #endif
30 
31   return boost::report_errors();
32 
33   }
34