| 1 | #include <cstdio> |
| 2 | |
| 3 | int main() |
| 4 | { |
| 5 | if |
| 6 | constexpr(false) { printf("False\n"); } |
| 7 | else if(true) { |
| 8 | printf("true"); |
| 9 | } |
| 10 | |
| 11 | if |
| 12 | constexpr(false) { printf("False\n"); } |
| 13 | else if constexpr (true) { |
| 14 | printf("true"); |
| 15 | } |
| 16 | |
| 17 | if |
| 18 | constexpr(false) printf("False\n"); |
| 19 | else if(true) |
| 20 | printf("true"); |
| 21 | |
| 22 | |
| 23 | int x = 1; |
| 24 | if( 1 == x) |
| 25 | printf("a"); |
| 26 | else if (2 == x) { |
| 27 | printf ("b"); |
| 28 | |
| 29 | if( x == 5 ) printf( "5"); |
| 30 | |
| 31 | } |
| 32 | else { |
| 33 | if (x == 3) printf("r"); |
| 34 | } |
| 35 | |
| 36 | } |
nothing calls this directly
no outgoing calls
no test coverage detected