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/main_uses_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/main_uses_foo.cpp')
-rw-r--r-- | tests/test_cases/deps/shared/main_uses_foo.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/test_cases/deps/shared/main_uses_foo.cpp b/tests/test_cases/deps/shared/main_uses_foo.cpp new file mode 100644 index 0000000..0fb3bb6 --- /dev/null +++ b/tests/test_cases/deps/shared/main_uses_foo.cpp @@ -0,0 +1,8 @@ +#include "foo/foo.hpp" +#include <iostream> + +int main() { + std::cout << "main\n"; + foo(); + return 0; +} |