1// RUN: mkdir -p %T/clang-tidy/list-checks/
2// RUN: echo '{Checks: "-*,google-*"}' > %T/clang-tidy/.clang-tidy
3// RUN: cd %T/clang-tidy/list-checks
4// RUN: clang-tidy -list-checks | grep "^ *google-"
5

source code of clang-tools-extra/test/clang-tidy/infrastructure/list-checks.cpp