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 // Verify fix of regression #6838: Adding include file with force_include makes 11 // Wave fail to emit #line directive 12 13 //O --forceinclude=t_2_022.hpp 14 15 //R #line 12 "t_2_022.hpp" 16 //R int func() { return 42; } 17 //R #line 19 "t_2_022.cpp" 18 //R int main() { return func(); } main()19int main() { return func(); } 20 21 //H 04: t_2_022.hpp 22 //H 05: $B(t_2_022.hpp) ($B(t_2_022.hpp)) 23 //H 06: 24