summaryrefslogtreecommitdiff
path: root/tests/projects/other/native_module/modules
diff options
context:
space:
mode:
authorruki <[email protected]>2024-04-02 00:00:12 +0800
committerruki <[email protected]>2024-04-02 00:00:12 +0800
commit72985a034146f40d460ea1fcf7bd017c00b520d7 (patch)
tree113535bd45cc430c085086947736feabfde79534 /tests/projects/other/native_module/modules
parenta881ec111510bd47d7dc374880ff6bcce2e3d42d (diff)
improve binary test
Diffstat (limited to 'tests/projects/other/native_module/modules')
-rw-r--r--tests/projects/other/native_module/modules/binary/src/main.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/tests/projects/other/native_module/modules/binary/src/main.cpp b/tests/projects/other/native_module/modules/binary/src/main.cpp
index 7c435d251..740142372 100644
--- a/tests/projects/other/native_module/modules/binary/src/main.cpp
+++ b/tests/projects/other/native_module/modules/binary/src/main.cpp
@@ -1,9 +1,6 @@
-#include <iostream>
+#include <stdio.h>
-using namespace std;
-
-int main(int argc, char** argv)
-{
- cout << "hello world!" << endl;
+int main(int argc, char** argv) {
+ printf("%s %s\n", argv[1], argv[2]);
return 0;
}