summaryrefslogtreecommitdiff
path: root/tests/projects/c++/console_zig_cxx/src/main.cpp
diff options
context:
space:
mode:
authorruki <[email protected]>2022-02-19 22:30:38 +0800
committerruki <[email protected]>2022-02-19 22:30:38 +0800
commit005a664f5b3ef7b833ab7b4afdb41583d56b6811 (patch)
tree8080d7acdc672cccbe428020c1e56dea2dcfb35a /tests/projects/c++/console_zig_cxx/src/main.cpp
parent43af40334dae383707c15ec731d515cd3ac6b834 (diff)
improve zig cc
Diffstat (limited to 'tests/projects/c++/console_zig_cxx/src/main.cpp')
-rw-r--r--tests/projects/c++/console_zig_cxx/src/main.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/projects/c++/console_zig_cxx/src/main.cpp b/tests/projects/c++/console_zig_cxx/src/main.cpp
new file mode 100644
index 000000000..7c435d251
--- /dev/null
+++ b/tests/projects/c++/console_zig_cxx/src/main.cpp
@@ -0,0 +1,9 @@
+#include <iostream>
+
+using namespace std;
+
+int main(int argc, char** argv)
+{
+ cout << "hello world!" << endl;
+ return 0;
+}