| 1 | int main() |
| 2 | { |
| 3 | int x = 0; |
| 4 | |
| 5 | for(; x < 20; ++x) { |
| 6 | x += x; |
| 7 | } |
| 8 | |
| 9 | for(int i=0; x < 20; ++x) { |
| 10 | x += i; |
| 11 | } |
| 12 | |
| 13 | for(int i = 0, y=2, t=4, o=5; i < 20; ++i) { |
| 14 | x += i; |
| 15 | } |
| 16 | |
| 17 | for(int *i = &x, *y=&x; i ; ++i) { |
| 18 | x += *i; |
| 19 | } |
| 20 | |
| 21 | for(;;); |
| 22 | |
| 23 | |
| 24 | char data[5]{}; |
| 25 | for(auto& x : data) { |
| 26 | x = 2; |
| 27 | } |
| 28 | } |
nothing calls this directly
no outgoing calls
no test coverage detected