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