1 // RUN: %clang_analyze_cc1 -Wno-conversion -Wno-tautological-constant-compare -analyzer-checker=core,alpha.core.Conversion -verify %s
3 // expected-no-diagnostics
6 unsigned long x
= static_cast<unsigned long>(-1);
9 void dontwarn2(unsigned x
) {
10 if (x
== static_cast<unsigned>(-1)) {
15 C(unsigned x
, unsigned long y
) {}
20 void functioncall1(long x
) {