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/main.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/main.cpp')
-rw-r--r-- | tests/test_cases/deps/install/main.cpp | 10 |
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); +} |