Test building a C++ hello world

This commit is contained in:
Martin Storsjö authored and Martin Storsjo committed 2016-08-31 12:25:08 +03:00
1 parent a4359b6e2d
commit b6fcf6e89d
2 files changed
+21 -1

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
#include <iostream>
class Hello {
public:
Hello() {
printf("Hello ctor\n");
}
~Hello() {
printf("Hello dtor\n");
}
};
Hello global_h;
int main(int argc, char* argv[]) {
std::cout<<"Hello world C++"<<std::endl;
return 0;
}