diff options
author | Oliver Reiche <oliver.reiche@huawei.com> | 2022-12-01 17:19:44 +0100 |
---|---|---|
committer | Oliver Reiche <oliver.reiche@huawei.com> | 2022-12-16 21:08:05 +0100 |
commit | 36a66f98fa2022c53b3792110549f27f3ce5336c (patch) | |
tree | 3623154a35b351c56164f5af145ea39944d4ce86 /tests/test_cases/deps/shared/foo.cpp | |
parent | 484092bb16cbf4683313c4adab8571699513a60b (diff) | |
download | rules-cc-36a66f98fa2022c53b3792110549f27f3ce5336c.tar.gz |
tests: Add support for shared libraries
Diffstat (limited to 'tests/test_cases/deps/shared/foo.cpp')
-rw-r--r-- | tests/test_cases/deps/shared/foo.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/test_cases/deps/shared/foo.cpp b/tests/test_cases/deps/shared/foo.cpp new file mode 100644 index 0000000..f985022 --- /dev/null +++ b/tests/test_cases/deps/shared/foo.cpp @@ -0,0 +1,7 @@ +#include "foo.hpp" +#include <iostream> + +int foo() { + std::cout << "foo\n"; + return 0; +} |