summaryrefslogtreecommitdiffstats
path: root/tests/cxx/backwards_includes.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cxx/backwards_includes.cc')
-rw-r--r--tests/cxx/backwards_includes.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/cxx/backwards_includes.cc b/tests/cxx/backwards_includes.cc
index 09f3315..0368bae 100644
--- a/tests/cxx/backwards_includes.cc
+++ b/tests/cxx/backwards_includes.cc
@@ -7,6 +7,8 @@
//
//===----------------------------------------------------------------------===//
+// IWYU_ARGS: -Xiwyu --check_also="tests/cxx/*-d*.h" -I .
+
// This tests a few situations where iwyu sometimes attributes uses
// incorrectly. We want to make sure we catch these errors in our
// sanity-checking phase and don't suggest ridiculous #includes as