t_2_008.cpp 948 B

123456789101112131415161718192021222324
  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. // Tests #include statements with macros as arguments
  9. //R
  10. //E t_2_008.cpp(15): error: could not find include file: some_include_file.h
  11. #define INCLUDE_FILE "some_include_file.h"
  12. #include INCLUDE_FILE
  13. //H 10: t_2_008.cpp(14): #define
  14. //H 08: t_2_008.cpp(14): INCLUDE_FILE="some_include_file.h"
  15. //H 10: t_2_008.cpp(15): #include
  16. //H 01: t_2_008.cpp(14): INCLUDE_FILE
  17. //H 02: "some_include_file.h"
  18. //H 03: "some_include_file.h"
  19. //H 04: "some_include_file.h"
  20. //H 18: boost::wave::preprocess_exception