| 115 | } |
| 116 | |
| 117 | int main() |
| 118 | { |
| 119 | Test t1{2}; |
| 120 | |
| 121 | t1++; |
| 122 | t1--; |
| 123 | |
| 124 | ++t1; |
| 125 | --t1; |
| 126 | |
| 127 | ++++t1; |
| 128 | |
| 129 | Test t2{5}; |
| 130 | |
| 131 | t1 += t2; |
| 132 | |
| 133 | if(t1 > t2) { |
| 134 | return 1; |
| 135 | } |
| 136 | |
| 137 | if(t1 >= t2) { |
| 138 | return 3; |
| 139 | } |
| 140 | |
| 141 | Test& t3 = t1[0]; |
| 142 | |
| 143 | Test t4 = t1; |
| 144 | t4 << t1 << t2 << t3; |
| 145 | |
| 146 | Test* t5 = new Test(2); |
| 147 | |
| 148 | (*t5)++; |
| 149 | auto tt5 = *t5++; // increment pointer and after that dereference it |
| 150 | |
| 151 | ++*t5; |
| 152 | ++++*t5; |
| 153 | |
| 154 | Fest f1{2}; |
| 155 | Fest f2{3}; |
| 156 | |
| 157 | if(f1 < f2) { |
| 158 | return 22; |
| 159 | } |
| 160 | |
| 161 | Hello::Bello::Fest f3{3}; |
| 162 | Hello::Bello::Fest f4{3}; |
| 163 | |
| 164 | if( f3 < f4 ) { return 44;} |
| 165 | |
| 166 | Hello::Bello::sF << Hello::Bello::sF << Hello::Bello::sF; |
| 167 | } |
nothing calls this directly
no outgoing calls
no test coverage detected