t_4_001.cpp 700 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, whether integer arithmetic results get truncated correctly
  9. //R #line 15 "t_4_001.cpp"
  10. //R true
  11. #if 1 / 10 == 0
  12. true
  13. #else
  14. false
  15. #endif
  16. //H 10: t_4_001.cpp(14): #if
  17. //H 11: t_4_001.cpp(14): #if 1 / 10 == 0: 1
  18. //H 10: t_4_001.cpp(16): #else