summaryrefslogtreecommitdiff
path: root/tests/actions/test/src/test_8.cpp
diff options
context:
space:
mode:
authorruki <[email protected]>2023-10-07 00:41:01 +0800
committerruki <[email protected]>2023-10-07 00:41:01 +0800
commit621d6df885bc9ee832221f968ffcb07399d791fa (patch)
tree71fe231a7651cb04c616a7c2a1e1484c2ddfcfb6 /tests/actions/test/src/test_8.cpp
parent0f9a73c46e1ed57158461d56662db686b42514e1 (diff)
add tests for xmake test
Diffstat (limited to 'tests/actions/test/src/test_8.cpp')
-rw-r--r--tests/actions/test/src/test_8.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/actions/test/src/test_8.cpp b/tests/actions/test/src/test_8.cpp
new file mode 100644
index 000000000..f454e99f3
--- /dev/null
+++ b/tests/actions/test/src/test_8.cpp
@@ -0,0 +1,10 @@
+#include <iostream>
+
+using namespace std;
+
+int main(int argc, char** argv)
+{
+ char const* arg = argc > 1? argv[1] : "xmake";
+ cout << "hello " << arg << endl;
+ return 0;
+}