1 /*============================================================================= 2 Boost.Wave: A Standard compliant C++ preprocessor library 3 http://www.boost.org/ 4 5 Copyright (c) 2001-2012 Hartmut Kaiser. Distributed under the Boost 6 Software License, Version 1.0. (See accompanying file 7 LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 8 =============================================================================*/ 9 10 // Tests, whether ecursively defined macros get expanded correctly in the 11 // context of an #if expression 12 13 #define C C 14 15 //R #line 18 "t_4_002.cpp" 16 //R true 17 #if !C 18 true 19 #endif 20 21 //H 10: t_4_002.cpp(13): #define 22 //H 08: t_4_002.cpp(13): C=C 23 //H 10: t_4_002.cpp(17): #if 24 //H 01: t_4_002.cpp(13): C 25 //H 02: C 26 //H 03: C 27 //H 11: t_4_002.cpp(17): #if !C: 1 28 //H 10: t_4_002.cpp(19): #endif 29