Release 1.39.0
[boost.git] / Boost_1_39_0 / libs / wave / test / testwave / testfiles / t_2_014.cpp
blobcf48fe656dc774644fcaa54c1f6e069654654fa3
1 /*=============================================================================
2 Boost.Wave: A Standard compliant C++ preprocessor library
3 http://www.boost.org/
5 Copyright (c) 2001-2009 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 =============================================================================*/
10 // Tests, whether alternative tokens are interpreted inside of conditional
11 // expressions
13 //R #line 16 "t_2_014.cpp"
14 //R true
15 #if compl 1
16 true
17 #else
18 false
19 #endif
21 //R #line 26 "t_2_014.cpp"
22 //R true
23 #if not 1
24 false
25 #else
26 true
27 #endif
29 //R #line 32 "t_2_014.cpp"
30 //R true
31 #if 1 or 2
32 true
33 #else
34 false
35 #endif
37 //R #line 40 "t_2_014.cpp"
38 //R true
39 #if 1 and 2
40 true
41 #else
42 false
43 #endif
45 //R #line 50 "t_2_014.cpp"
46 //R true
47 #if not 1
48 false
49 #else
50 true
51 #endif
53 //R #line 56 "t_2_014.cpp"
54 //R true
55 #if 1 xor 2
56 true
57 #else
58 false
59 #endif
61 //R #line 66 "t_2_014.cpp"
62 //R true
63 #if 1 bitand 2
64 false
65 #else
66 true
67 #endif
69 //R #line 72 "t_2_014.cpp"
70 //R true
71 #if 1 bitor 2
72 true
73 #else
74 false
75 #endif
77 //R #line 80 "t_2_014.cpp"
78 //R true
79 #if 1 not_eq 2
80 true
81 #else
82 false
83 #endif
85 //H 10: t_2_014.cpp(15): #if
86 //H 11: t_2_014.cpp(15): #if compl 1: 1
87 //H 10: t_2_014.cpp(17): #else
88 //H 10: t_2_014.cpp(23): #if
89 //H 11: t_2_014.cpp(23): #if not 1: 0
90 //H 10: t_2_014.cpp(27): #endif
91 //H 10: t_2_014.cpp(31): #if
92 //H 11: t_2_014.cpp(31): #if 1 or 2: 1
93 //H 10: t_2_014.cpp(33): #else
94 //H 10: t_2_014.cpp(39): #if
95 //H 11: t_2_014.cpp(39): #if 1 and 2: 1
96 //H 10: t_2_014.cpp(41): #else
97 //H 10: t_2_014.cpp(47): #if
98 //H 11: t_2_014.cpp(47): #if not 1: 0
99 //H 10: t_2_014.cpp(51): #endif
100 //H 10: t_2_014.cpp(55): #if
101 //H 11: t_2_014.cpp(55): #if 1 xor 2: 1
102 //H 10: t_2_014.cpp(57): #else
103 //H 10: t_2_014.cpp(63): #if
104 //H 11: t_2_014.cpp(63): #if 1 bitand 2: 0
105 //H 10: t_2_014.cpp(67): #endif
106 //H 10: t_2_014.cpp(71): #if
107 //H 11: t_2_014.cpp(71): #if 1 bitor 2: 1
108 //H 10: t_2_014.cpp(73): #else
109 //H 10: t_2_014.cpp(79): #if
110 //H 11: t_2_014.cpp(79): #if 1 not_eq 2: 1
111 //H 10: t_2_014.cpp(81): #else