diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-08-09 15:32:40 +0200 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2024-08-09 16:49:40 +0200 |
commit | 2e8f03a66a8690dcd137834e0a3479e20b560b78 (patch) | |
tree | 8ce7ec9b0a368e4939359d7451662f3b9344eb6b /tests/test_cases/deps/transitive-components/main.cpp | |
parent | 8a6e4182cbac4bd6afd88e1dc222303b0df57001 (diff) | |
download | rules-cc-2e8f03a66a8690dcd137834e0a3479e20b560b78.tar.gz |
Add a test for components having components
Diffstat (limited to 'tests/test_cases/deps/transitive-components/main.cpp')
-rw-r--r-- | tests/test_cases/deps/transitive-components/main.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/test_cases/deps/transitive-components/main.cpp b/tests/test_cases/deps/transitive-components/main.cpp new file mode 100644 index 0000000..3e2ae1c --- /dev/null +++ b/tests/test_cases/deps/transitive-components/main.cpp @@ -0,0 +1,11 @@ +#include "foo.hpp" +#include "bar.hpp" +#include "baz.hpp" + +#include <iostream> +#include <ostream> + +int main(int argc, char **argv) { + std::cout << "Hello-from-main" << std::endl; + std::cout << foo(bar(baz(13))) << std::endl; +} |