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 the validity of whitespace handling during macro expansion 11 12 #define MACRO() 123 13 14 //R #line 16 "t_1_022.cpp" 15 //R 123 16 MACRO() 17 //R #line 19 "t_1_022.cpp" 18 //R 123 19 MACRO 20 () 21 //R #line 23 "t_1_022.cpp" 22 //R 123 23 MACRO( 24 ) 25 26 //H 10: t_1_022.cpp(12): #define 27 //H 08: t_1_022.cpp(12): MACRO()=123 28 //H 00: t_1_022.cpp(16): MACRO(), [t_1_022.cpp(12): MACRO()=123] 29 //H 02: 123 30 //H 03: 123 31 //H 00: t_1_022.cpp(19): MACRO(), [t_1_022.cpp(12): MACRO()=123] 32 //H 02: 123 33 //H 03: 123 34 //H 00: t_1_022.cpp(23): MACRO(), [t_1_022.cpp(12): MACRO()=123] 35 //H 02: 123 36 //H 03: 123 37