blob: 1417881ff61f343f42b203da89142f85d28ac515 [file] [log] [blame]
#include <iostream>
#include <cmMod.hpp>
using namespace std;
#define EXPECTED "Hello World compDef 42"
int main(void) {
cmModClass obj("Hello");
cout << obj.getStr() << endl;
if (obj.getStr() != EXPECTED) {
cerr << "Expected: '" << EXPECTED << "'" << endl;
return 1;
}
return 0;
}