summaryrefslogtreecommitdiff
path: root/tests/projects/other/object_only/src/main.cpp
diff options
context:
space:
mode:
authorruki <[email protected]>2025-06-27 22:43:33 +0800
committerruki <[email protected]>2025-06-27 10:22:06 +0800
commit0720b2309a011c26e341dafb50877622e7bb8f17 (patch)
tree47faff05bff6f7993620b39c6498110c6348d37a /tests/projects/other/object_only/src/main.cpp
parente2c60ab5bc58d4e0a769591b1ad58285d638ccca (diff)
add object only test
Diffstat (limited to 'tests/projects/other/object_only/src/main.cpp')
-rw-r--r--tests/projects/other/object_only/src/main.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/projects/other/object_only/src/main.cpp b/tests/projects/other/object_only/src/main.cpp
new file mode 100644
index 000000000..d55d4d342
--- /dev/null
+++ b/tests/projects/other/object_only/src/main.cpp
@@ -0,0 +1,7 @@
+#include "foo.h"
+#include <iostream>
+
+int main(int argc, char** argv) {
+ std::cout << "add(1, 2) = " << add(1, 2) << std::endl;
+ return 0;
+}