t_2_010.cpp 757 B

123456789101112131415161718192021
  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 error reporting for missing #endif
  9. //E t_2_010.cpp(22): error: detected at least one missing #endif directive
  10. #if 1
  11. #if 0
  12. #endif
  13. //H 10: t_2_010.cpp(13): #if
  14. //H 11: t_2_010.cpp(13): #if 1: 1
  15. //H 10: t_2_010.cpp(14): #if
  16. //H 11: t_2_010.cpp(14): #if 0: 0
  17. //H 18: boost::wave::preprocess_exception