Line | Branch | Exec | Source |
---|---|---|---|
1 | #include <iostream> | ||
2 | #include <cstdlib> | ||
3 | |||
4 | 2 | int main(int argc, char* argv[]) { | |
5 | try { | ||
6 |
3/4✓ Branch 0 taken 1 times.
✓ Branch 1 taken 1 times.
✓ Branch 2 taken 1 times.
✗ Branch 3 not taken.
|
2 | std::cout << "Exit program" << std::endl; |
7 |
1/2✗ Branch 0 not taken.
✓ Branch 1 taken 1 times.
|
1 | std::exit(0); |
8 | } | ||
9 | catch (const std::exception& e) { | ||
10 | // Do nothing | ||
11 | } | ||
12 | 2 | } | |
13 |