summaryrefslogtreecommitdiff
path: root/tests/test_cases/deps/install/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_cases/deps/install/main.cpp')
-rw-r--r--tests/test_cases/deps/install/main.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/test_cases/deps/install/main.cpp b/tests/test_cases/deps/install/main.cpp
new file mode 100644
index 0000000..2e46d75
--- /dev/null
+++ b/tests/test_cases/deps/install/main.cpp
@@ -0,0 +1,10 @@
+// test binary consuming libraries
+
+#include "bar/bar.hpp"
+#include <iostream>
+
+int main() {
+ std::cout << "main" << std::endl;
+ Foo foo{};
+ return bar(&foo);
+}