Debian Codegraph @

test cases/cmake/10 header only/main.cpp

raw
1 #include <iostream>
2 #include <cmMod.hpp>
3
4 using namespace std;
5
6 #define EXPECTED "Hello World compDef 42"
7
8 int main(void) {
9 cmModClass obj("Hello");
10 cout << obj.getStr() << endl;
11 if (obj.getStr() != EXPECTED) {
12 cerr << "Expected: '" << EXPECTED << "'" << endl;
13 return 1;
14 }
15 return 0;
16 }