xref: /llvm-project/clang-tools-extra/include-cleaner/test/multiple-providers.cpp (revision 29a8eec1f9eb6df8d52d8621415754989595fb6a)
1 // RUN: clang-include-cleaner --print=changes %s -- -I %S/Inputs | FileCheck --allow-empty %s
2 #include "foo.h"
3 #include "foo2.h"
4 
5 int n = foo();
6 // Make sure both providers are preserved.
7 // CHECK-NOT: - "foo.h"
8 // CHECK-NOT: - "foo2.h"
9