1// RUN: %check_clang_tidy %s misc-use-internal-linkage %t -- \
2// RUN: -config="{CheckOptions: {misc-use-internal-linkage.FixMode: 'None'}}" -- -I%S/Inputs/use-internal-linkage
3
4void func() {}
5// CHECK-MESSAGES: :[[@LINE-1]]:6: warning: function 'func'
6// CHECK-FIXES-NOT: static void func() {}
7
8int global;
9// CHECK-MESSAGES: :[[@LINE-1]]:5: warning: variable 'global'
10// CHECK-FIXES-NOT: static int global;
11

source code of clang-tools-extra/test/clang-tidy/checkers/misc/use-internal-linkage-fix-mode-none.cpp