Directory: | ./ |
---|---|
File: | main.cpp |
Date: | 2020-09-29 20:26:34 |
Exec | Total | Coverage | |
---|---|---|---|
Lines: | 4 | 4 | 100.0% |
Branches: | 0 | 0 | -% |
Line | Branch | Exec | Source |
---|---|---|---|
1 | #include <iostream> | ||
2 | |||
3 | #ifdef FOO | ||
4 | extern int foo(); | ||
5 | #endif | ||
6 | #ifdef BAR | ||
7 | extern int bar(); | ||
8 | #endif | ||
9 | |||
10 | 2 | int main(int argc, char* argv[]) { | |
11 | #ifdef FOO | ||
12 | 1 | foo(); | |
13 | #endif | ||
14 | #ifdef BAR | ||
15 | 1 | bar(); | |
16 | #endif | ||
17 | |||
18 | 2 | return 0; | |
19 | } | ||
20 |