• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*=============================================================================
2     Boost.Wave: A Standard compliant C++ preprocessor library
3     http://www.boost.org/
4 
5     Copyright (c) 2001-2012 Hartmut Kaiser. Distributed under the Boost
6     Software License, Version 1.0. (See accompanying file
7     LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
8 =============================================================================*/
9 
10 // Tests, whether integer arithmetic results get truncated correctly
11 
12 //R #line 15 "t_4_001.cpp"
13 //R true
14 #if 1 / 10 == 0
15 true
16 #else
17 false
18 #endif
19 
20 //H 10: t_4_001.cpp(14): #if
21 //H 11: t_4_001.cpp(14): #if 1 / 10 == 0: 1
22 //H 10: t_4_001.cpp(16): #else
23