summaryrefslogtreecommitdiff
path: root/tests/test_cases/deps/object/main.cpp
diff options
context:
space:
mode:
authorOliver Reiche <oliver.reiche@huawei.com>2024-05-02 17:53:42 +0200
committerOliver Reiche <oliver.reiche@huawei.com>2024-05-03 11:43:47 +0200
commite08b7fc35a754a17feeff663b20cf81b4b428ab7 (patch)
treebe8790d0b834959a50a52fca37926424b7db1ca9 /tests/test_cases/deps/object/main.cpp
parent3c89cd4023af84847f449ee4ad731a4b35c97972 (diff)
downloadrules-cc-e08b7fc35a754a17feeff663b20cf81b4b428ab7.tar.gz
Add tests for object_only library
Diffstat (limited to 'tests/test_cases/deps/object/main.cpp')
-rw-r--r--tests/test_cases/deps/object/main.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/test_cases/deps/object/main.cpp b/tests/test_cases/deps/object/main.cpp
new file mode 100644
index 0000000..cfc2a4f
--- /dev/null
+++ b/tests/test_cases/deps/object/main.cpp
@@ -0,0 +1,8 @@
+#include "bar/bar.hpp"
+#include "foo/foo.hpp"
+#include <iostream>
+
+int main(int argc, char const *argv[]) {
+ std::cout << foo() << " " << bar() << std::endl;
+ return 0;
+}