summaryrefslogtreecommitdiff
path: root/tests/test_cases/deps/private/bar.cpp
diff options
context:
space:
mode:
authorOliver Reiche <oliver.reiche@huawei.com>2022-12-09 15:24:55 +0100
committerOliver Reiche <oliver.reiche@huawei.com>2022-12-12 14:46:19 +0100
commit886c7b680928276d7f925d30fc206ca27d9a97d1 (patch)
tree4471690974cc15caad524274c88fff830bf2c127 /tests/test_cases/deps/private/bar.cpp
parent6e10ee13df0b83511d7fe94bb755ac53f993c0ec (diff)
downloadrules-cc-886c7b680928276d7f925d30fc206ca27d9a97d1.tar.gz
Add tests and readme
Diffstat (limited to 'tests/test_cases/deps/private/bar.cpp')
-rw-r--r--tests/test_cases/deps/private/bar.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/test_cases/deps/private/bar.cpp b/tests/test_cases/deps/private/bar.cpp
new file mode 100644
index 0000000..dfce0e8
--- /dev/null
+++ b/tests/test_cases/deps/private/bar.cpp
@@ -0,0 +1,8 @@
+#include "foo/foo.hpp"
+#include "bar.hpp"
+#include <iostream>
+
+int bar() {
+ std::cout << "bar\n";
+ return foo();
+}