summaryrefslogtreecommitdiffstats
path: root/tests/cxx/keep_mapping.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cxx/keep_mapping.cc')
-rw-r--r--tests/cxx/keep_mapping.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/cxx/keep_mapping.cc b/tests/cxx/keep_mapping.cc
index c494d6c..c6f9f81 100644
--- a/tests/cxx/keep_mapping.cc
+++ b/tests/cxx/keep_mapping.cc
@@ -7,6 +7,10 @@
//
//===----------------------------------------------------------------------===//
+// IWYU_ARGS: -Xiwyu --check_also="tests/cxx/*-public.h" \
+// -Xiwyu --mapping_file=tests/cxx/keep_mapping.imp \
+// -I .
+
// The real test here is in keep_mapping-public.h.
#include "tests/cxx/keep_mapping-public.h"