Files
boost_preprocessor/test/test.hpp
Vesa Karvonen cf2315ddea Removed replacement rescan from tests.
Made requirements for BOOST_PP_CAT and BOOST_PP_STRINGIZE stronger.


[SVN r12440]
2002-01-22 13:38:55 +00:00

27 lines
795 B
C++

#ifndef BOOST_LIBS_PREPROCESSOR_TEST_TEST_HPP
#define BOOST_LIBS_PREPROCESSOR_TEST_TEST_HPP
// Copyright (C) 2001
// Housemarque Oy
// http://www.housemarque.com
//
// 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 as to its suitability for any purpose.
// See http://www.boost.org for most recent version.
#include <boost/preprocessor/cat.hpp>
// The TEST macro has been broken into two pieces to avoid
// double expansion:
// 1. as a macro argument
// 2. rescan
#define TEST_B typedef int BOOST_PP_CAT(test_,__LINE__)[((
#define TEST_E )==1) ? 1 : -1];
#define MACRO(X) X
#define MACRO_ARGS(X) (X)
#endif