t_2_011.cpp 755 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 #if
  9. //E t_2_011.cpp(15): error: the #if for this directive is missing: #endif
  10. #if 1
  11. #endif
  12. #endif
  13. //H 10: t_2_011.cpp(13): #if
  14. //H 11: t_2_011.cpp(13): #if 1: 1
  15. //H 10: t_2_011.cpp(14): #endif
  16. //H 10: t_2_011.cpp(15): #endif
  17. //H 18: boost::wave::preprocess_exception