The Meson Build System
http://mesonbuild.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
317 B
18 lines
317 B
#include <iostream> |
|
#include <cmMod.hpp> |
|
#include <cmTest.hpp> |
|
|
|
using namespace std; |
|
|
|
int main(void) { |
|
cmModClass obj("Hello"); |
|
cout << obj.getStr() << endl; |
|
|
|
int v1 = obj.getInt(); |
|
int v2 = getTestInt(); |
|
if (v1 != ((1 + v2) * 2)) { |
|
cerr << "Number test failed" << endl; |
|
return 1; |
|
} |
|
return 0; |
|
}
|
|
|