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 #if works when the expression is surrounded by parenthesis 11 12 #define WINVER 0x0500 13 14 //R #line 17 "t_2_015.cpp" 15 //R true 16 #if(WINVER >= 0x0500) 17 true 18 #endif 19 20 //H 10: t_2_015.cpp(12): #define 21 //H 08: t_2_015.cpp(12): WINVER=0x0500 22 //H 10: t_2_015.cpp(16): #if 23 //H 01: t_2_015.cpp(12): WINVER 24 //H 02: 0x0500 25 //H 03: 0x0500 26 //H 11: t_2_015.cpp(16): #if (WINVER >= 0x0500): 1 27 //H 10: t_2_015.cpp(18): #endif 28