t_2_002.cpp 1003 B

12345678910111213141516171819202122
  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 simple #line functionality
  9. #line 5 "a_nonexisting_file.cpp"
  10. //R
  11. //E a_nonexisting_file.cpp(8): fatal error: encountered #error directive or #pragma wave stop(): This error should occur at line 8 of "a_nonexisting_file.cpp"
  12. #error This error should occur at line 8 of "a_nonexisting_file.cpp"
  13. //H 10: t_2_002.cpp(12): #line
  14. //H 17: 5 "a_nonexisting_file.cpp" (5, "a_nonexisting_file.cpp")
  15. //H 10: a_nonexisting_file.cpp(8): #error
  16. //H 16: This error should occur at line 8 of "a_nonexisting_file.cpp"
  17. //H 18: boost::wave::preprocess_exception