| 14 | import cmodule; |
| 15 | |
| 16 | int main() { |
| 17 | int a = 1; |
| 18 | int b = 2; |
| 19 | |
| 20 | int absum = add(a, b); |
| 21 | int abdif = subtract(a, b); |
| 22 | |
| 23 | assert(a + b == absum); |
| 24 | assert(a - b == abdif); |
| 25 | |
| 26 | // used this instead of <iostream> to work with older compilers that may choke on <iostream> implicit includes |
| 27 | printf("OK: export module\n"); |
| 28 | |
| 29 | return EXIT_SUCCESS; |
| 30 | } |
nothing calls this directly
no outgoing calls
no test coverage detected