// RUN: %clang_cc1 -fsyntax-only -Wself-assign -verify %s
void
// Dummy type.
;
void
// Do not diagnose self-assigment in an unevaluated context
void // expected-warning {{expression with side effects has no effect in an unevaluated context}}
void
void
;