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