1 // RUN: %clang_cc1 -fsyntax-only -Wall -verify %s
2 // RUN: %clang_cc1 -fsyntax-only -Wself-assign -verify %s
3 // RUN: %clang_cc1 -fsyntax-only -Wself-assign-overloaded -verify %s
4 // RUN: %clang_cc1 -fsyntax-only -Wall -Wno-self-assign-overloaded -DSILENCE -verify %s
5 // RUN: %clang_cc1 -fsyntax-only -Wself-assign -Wno-self-assign-overloaded -DSILENCE -verify %s
6 // RUN: %clang_cc1 -fsyntax-only -Wself-assign-overloaded -Wno-self-assign-overloaded -DSILENCE -verify %s
13 a
= a
; // expected-warning{{explicitly assigning}}
15 // expected-no-diagnostics