// RUN: %clang_analyze_cc1 -std=c99 -Dbool=_Bool -analyzer-checker=core,alpha.core.TestAfterDivZero -analyzer-output=text -verify -analyzer-config eagerly-assume=false %s
// RUN: %clang_analyze_cc1 -x c++ -analyzer-checker=core,alpha.core.TestAfterDivZero -analyzer-output=text -verify -analyzer-config eagerly-assume=false %s
int var;
void // expected-note@-1 {{Value being compared against zero has already been used for division}}
void // expected-note@-1 {{Value being compared against zero has already been used for division}}
void // expected-note@-1 {{Value being compared against zero has already been used for division}}
void // expected-note@-1 {{Value being compared against zero has already been used for division}}
void // expected-note@-1 {{Value being compared against zero has already been used for division}}
void // expected-note@-1 {{Value being compared against zero has already been used for division}}
void // expected-note@-1 {{Value being compared against zero has already been used for division}}
void // expected-note@-1 {{Value being compared against zero has already been used for division}}
void // expected-note@-1 {{Value being compared against zero has already been used for division}}
void // expected-note@-1 {{Value being compared against zero has already been used for division}}
void
void
void
void
void
void
void ;
void
void ;
void // expected-note@-1 {{Value being compared against zero has already been used for division}}
void
void
void
int ;
void ;
void
int ;
void // expected-note@-1 {{Value being compared against zero has already been used for division}}
void
void
inline void // expected-note@-1 {{Value being compared against zero has already been used for division}}
void
inline void
void // expected-note@-1 {{Value being compared against zero has already been used for division}}
inline void
void // expected-note@-1 {{Value being compared against zero has already been used for division}}