From 4c49c81008fc2f22c2eef2e019a11f80cd5464a8 Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Wed, 21 Aug 2024 11:00:48 +0200 Subject: Add test verifying lint information is propagated properly ... through all our various rules and forms of libraries. --- tests/test_cases/deps/lint/bar.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 tests/test_cases/deps/lint/bar.cpp (limited to 'tests/test_cases/deps/lint/bar.cpp') diff --git a/tests/test_cases/deps/lint/bar.cpp b/tests/test_cases/deps/lint/bar.cpp new file mode 100644 index 0000000..437619c --- /dev/null +++ b/tests/test_cases/deps/lint/bar.cpp @@ -0,0 +1,10 @@ +#include "bar.hpp" + +#include "bardep.hpp" +#include +#include + +int bar(int x) { + std::cout << "bar(" << x << ")" << std::endl; + return bardep(x) * 7; +} -- cgit v1.2.3