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 for a problem wrt preprocessing tokens (preprocessing numbers) 11 12 #define X() X_ ## 0R() 13 #define X_0R() ... 14 15 //R #line 16 "t_9_009.cpp" 16 X() //R ... 17 18 //H 10: t_9_009.cpp(12): #define 19 //H 08: t_9_009.cpp(12): X()=X_ ## 0R() 20 //H 10: t_9_009.cpp(13): #define 21 //H 08: t_9_009.cpp(13): X_0R()=... 22 //H 00: t_9_009.cpp(16): X(), [t_9_009.cpp(12): X()=X_ ## 0R()] 23 //H 02: X_0R() 24 //H 00: t_9_009.cpp(12): X_0R(), [t_9_009.cpp(13): X_0R()=...] 25 //H 02: ... 26 //H 03: ... 27 //H 03: ... 28