| // RUN: %check_clang_tidy %s fuchsia-overloaded-operator %t |
| // CHECK-MESSAGES: [[@LINE-1]]:3: warning: overloading 'operator+' is disallowed |
| B &operator=(const B &Other); |
| // CHECK-MESSAGES-NOT: [[@LINE-1]]:3: warning: overloading 'operator=' is disallowed |
| // CHECK-MESSAGES-NOT: [[@LINE-1]]:3: warning: overloading 'operator=' is disallowed |
| A operator-(const A &A1, const A &A2); |
| // CHECK-MESSAGES: [[@LINE-1]]:1: warning: overloading 'operator-' is disallowed |
| void operator delete(void*, void*) throw(); |
| // CHECK-MESSAGES: [[@LINE-1]]:1: warning: overloading 'operator delete' is disallowed |