forked from boostorg/preprocessor
new tests
[SVN r15688]
This commit is contained in:
34
test/iteration.cpp
Normal file
34
test/iteration.cpp
Normal file
@ -0,0 +1,34 @@
|
||||
# /* **************************************************************************
|
||||
# * *
|
||||
# * (C) Copyright Paul Mensonides 2002. Permission to copy, use, *
|
||||
# * modify, sell, and distribute this software is granted provided *
|
||||
# * this copyright notice appears in all copies. This software is *
|
||||
# * provided "as is" without express or implied warranty, and with *
|
||||
# * no claim at to its suitability for any purpose. *
|
||||
# * *
|
||||
# ************************************************************************** */
|
||||
#
|
||||
# /* See http://www.boost.org for most recent version. */
|
||||
#
|
||||
# if !BOOST_PP_IS_SELFISH
|
||||
#
|
||||
# include <libs/preprocessor/regression/iteration.h>
|
||||
#
|
||||
# define TEST(n) BEGIN n == n END
|
||||
#
|
||||
# define BOOST_PP_LOCAL_MACRO(n) TEST(n)
|
||||
# define BOOST_PP_LOCAL_LIMITS (1, 5)
|
||||
# include BOOST_PP_LOCAL_ITERATE()
|
||||
#
|
||||
# define BOOST_PP_LOCAL_MACRO(n) TEST(n)
|
||||
# define BOOST_PP_LOCAL_LIMITS (5, 1)
|
||||
# include BOOST_PP_LOCAL_ITERATE()
|
||||
#
|
||||
# define BOOST_PP_INDIRECT_SELF <libs/preprocessor/regression/iteration.cpp>
|
||||
# include BOOST_PP_INCLUDE_SELF()
|
||||
#
|
||||
# else
|
||||
|
||||
BEGIN BOOST_PP_IS_SELFISH == 1 END
|
||||
|
||||
# endif
|
Reference in New Issue
Block a user