From 621d6df885bc9ee832221f968ffcb07399d791fa Mon Sep 17 00:00:00 2001 From: ruki Date: Sat, 7 Oct 2023 00:41:01 +0800 Subject: add tests for xmake test --- tests/actions/test/src/test_7.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 tests/actions/test/src/test_7.cpp (limited to 'tests/actions/test/src/test_7.cpp') diff --git a/tests/actions/test/src/test_7.cpp b/tests/actions/test/src/test_7.cpp new file mode 100644 index 000000000..f454e99f3 --- /dev/null +++ b/tests/actions/test/src/test_7.cpp @@ -0,0 +1,10 @@ +#include + +using namespace std; + +int main(int argc, char** argv) +{ + char const* arg = argc > 1? argv[1] : "xmake"; + cout << "hello " << arg << endl; + return 0; +} -- cgit v1.3.1