diff options
author | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2024-05-27 14:15:43 +0200 |
---|---|---|
committer | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2024-06-04 13:24:51 +0200 |
commit | 4602b1967533b61a1fc2ea1bef5c16dcc30e84ba (patch) | |
tree | 8ea596fb3447b23f08aba8f17d460f0382fcacdd /tests/test_cases/deps/install/foo.cpp | |
parent | 5e20b5cf029695be07d791a76a1e21a316ca5a0f (diff) | |
download | rules-cc-4602b1967533b61a1fc2ea1bef5c16dcc30e84ba.tar.gz |
rules-cc: Add regression tests for install-with-deps rule...
...in both release and debug modes.
Co-authored-by: Oliver Reiche <oliver.reiche@huawei.com>
Diffstat (limited to 'tests/test_cases/deps/install/foo.cpp')
-rw-r--r-- | tests/test_cases/deps/install/foo.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
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 <iostream> + +int Foo::foo() { + std::cout << "foo & inline " << baz_str() << std::endl; + qux(); + return baz(); +} |