summaryrefslogtreecommitdiff
path: root/tests/test_cases/deps/shared/test_diamond.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_cases/deps/shared/test_diamond.cpp')
-rw-r--r--tests/test_cases/deps/shared/test_diamond.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test_cases/deps/shared/test_diamond.cpp b/tests/test_cases/deps/shared/test_diamond.cpp
new file mode 100644
index 0000000..9298230
--- /dev/null
+++ b/tests/test_cases/deps/shared/test_diamond.cpp
@@ -0,0 +1,4 @@
+#include "baz/baz.hpp"
+#include "foo/foo.hpp"
+
+int main() { return foo() + baz(); }