blob: 6e3536b7c23c528b63aa64e88d475bcb43e2bb17 [file] [log] [blame]
// RUN: %clang_analyze_cc1 -w -analyzer-checker=core -verify %s \
// RUN: -analyzer-config eagerly-assume=true
// expected-no-diagnostics
int test(unsigned long a, unsigned long c, int b) {
c -= a;
if (0 >= b) {}
c == b;
return c ? 0 : 2; // no-crash
}