diff --git a/cfg/boost.cfg b/cfg/boost.cfg index f1c21df92..ded96a399 100644 --- a/cfg/boost.cfg +++ b/cfg/boost.cfg @@ -13,6 +13,7 @@ + @@ -63,6 +64,8 @@ + + diff --git a/test/cfg/boost.cpp b/test/cfg/boost.cpp index 0ef74ac71..4ba39d50d 100644 --- a/test/cfg/boost.cpp +++ b/test/cfg/boost.cpp @@ -81,3 +81,15 @@ void throwexception2(int * buf) BOOST_THROW_EXCEPTION(std::bad_alloc()); *buf = 0; } + +void macros() +{ + #define DECL(z, n, text) text ## n = n; + BOOST_PP_REPEAT(5, DECL, int x) + + BOOST_SCOPED_ENUM_DECLARE_BEGIN(future_errc) + { + no_state + } + BOOST_SCOPED_ENUM_DECLARE_END(future_errc) +}