summaryrefslogtreecommitdiff
path: root/tests/actions/test/src/test_3.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/actions/test/src/test_3.cpp')
-rw-r--r--tests/actions/test/src/test_3.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/actions/test/src/test_3.cpp b/tests/actions/test/src/test_3.cpp
new file mode 100644
index 000000000..f454e99f3
--- /dev/null
+++ b/tests/actions/test/src/test_3.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;
+}