Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Analysis / PR50268.c
blob6e3536b7c23c528b63aa64e88d475bcb43e2bb17
1 // RUN: %clang_analyze_cc1 -w -analyzer-checker=core -verify %s \
2 // RUN: -analyzer-config eagerly-assume=true
4 // expected-no-diagnostics
7 int test(unsigned long a, unsigned long c, int b) {
8 c -= a;
9 if (0 >= b) {}
10 c == b;
11 return c ? 0 : 2; // no-crash