t_2_022.cpp 819 B

1234567891011121314151617181920212223
  1. /*=============================================================================
  2. Boost.Wave: A Standard compliant C++ preprocessor library
  3. http://www.boost.org/
  4. Copyright (c) 2001-2012 Hartmut Kaiser. Distributed under the Boost
  5. Software License, Version 1.0. (See accompanying file
  6. LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
  7. =============================================================================*/
  8. // Verify fix of regression #6838: Adding include file with force_include makes
  9. // Wave fail to emit #line directive
  10. //O --forceinclude=t_2_022.hpp
  11. //R #line 12 "t_2_022.hpp"
  12. //R int func() { return 42; }
  13. //R #line 19 "t_2_022.cpp"
  14. //R int main() { return func(); }
  15. int main() { return func(); }
  16. //H 04: t_2_022.hpp
  17. //H 05: $B(t_2_022.hpp) ($B(t_2_022.hpp))
  18. //H 06: