From 4602b1967533b61a1fc2ea1bef5c16dcc30e84ba Mon Sep 17 00:00:00 2001 From: Paul Cristian Sarbu Date: Mon, 27 May 2024 14:15:43 +0200 Subject: rules-cc: Add regression tests for install-with-deps rule... ...in both release and debug modes. Co-authored-by: Oliver Reiche --- tests/test_cases/deps/install/main.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 tests/test_cases/deps/install/main.cpp (limited to 'tests/test_cases/deps/install/main.cpp') 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 + +int main() { + std::cout << "main" << std::endl; + Foo foo{}; + return bar(&foo); +} -- cgit v1.2.3