| 1 | # /* ************************************************************************** |
| 2 | # * * |
| 3 | # * (C) Copyright Paul Mensonides 2002. |
| 4 | # * Distributed under the Boost Software License, Version 1.0. (See |
| 5 | # * accompanying file LICENSE_1_0.txt or copy at |
| 6 | # * http://www.boost.org/LICENSE_1_0.txt) |
| 7 | # * * |
| 8 | # ************************************************************************** */ |
| 9 | # |
| 10 | # /* See http://www.boost.org for most recent version. */ |
| 11 | # |
| 12 | # include <boost/preprocessor/debug.hpp> |
| 13 | # include "test.h" |
| 14 | |
| 15 | BEGIN sizeof(BOOST_PP_ASSERT_MSG(0, "text" ) "" ) / sizeof(char) != 1 END |
| 16 | BEGIN sizeof(BOOST_PP_ASSERT_MSG(1, "text" ) "" ) / sizeof(char) == 1 END |
| 17 | |
| 18 | BOOST_PP_ASSERT(10) |
| 19 | |
| 20 | # line BOOST_PP_LINE(100, __FILE__) |
| 21 | BEGIN __LINE__ == 100 END |
| 22 | |