1// RUN: %check_clang_tidy %s modernize-use-equals-delete %t -- \
2// RUN: -config="{CheckOptions: {modernize-use-equals-delete.IgnoreMacros: false}}"
3
4#define MACRO(type) void operator=(type const &)
5class C {
6private:
7 MACRO(C);
8 // CHECK-MESSAGES: :[[@LINE-1]]:3: warning: use '= delete' to prohibit calling of a special member function
9};
10

source code of clang-tools-extra/test/clang-tidy/checkers/modernize/use-equals-delete-macros.cpp