1// RUN: cp %s %t.cpp
2// RUN: clang-include-cleaner -edit %t.cpp -- -I%S/Inputs/modules -fimplicit-module-maps -fmodules-strict-decluse -fmodule-name=XA
3// RUN: FileCheck --match-full-lines --check-prefix=EDIT %s < %t.cpp
4
5// Verify the tool still works on compilable-but-layering-violation code.
6#include "a.h"
7// EDIT-NOT: {{^}}#include "a.h"{{$}}
8

source code of clang-tools-extra/include-cleaner/test/module.cpp