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/foo.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 tests/test_cases/deps/install/foo.cpp (limited to 'tests/test_cases/deps/install/foo.cpp') diff --git a/tests/test_cases/deps/install/foo.cpp b/tests/test_cases/deps/install/foo.cpp new file mode 100644 index 0000000..4a3b17a --- /dev/null +++ b/tests/test_cases/deps/install/foo.cpp @@ -0,0 +1,10 @@ +#include "foo.hpp" +#include "baz/baz.hpp" +#include "qux.hpp" +#include + +int Foo::foo() { + std::cout << "foo & inline " << baz_str() << std::endl; + qux(); + return baz(); +} -- cgit v1.2.3