bolt/deps/llvm-18.1.8/clang-tools-extra/include-cleaner/test/multiple-providers.cpp

9 lines
237 B
C++
Raw Normal View History

2025-02-14 19:21:04 +01:00
// RUN: clang-include-cleaner --print=changes %s -- -I %S/Inputs | FileCheck --allow-empty %s
#include "foo.h"
#include "foo2.h"
int n = foo();
// Make sure both providers are preserved.
// CHECK-NOT: - "foo.h"
// CHECK-NOT: - "foo2.h"