After r335814, the constraint manager is no longer generating a false bug report
about the division by zero in the test case.
This patch removes the expected false bug report.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@335932
91177308-0d34-0410-b5e6-
96231b3b80d8
if ((a - b) == 0)
c = 0;
if (a != b)
-#ifdef NO_CROSSCHECK
- g(3 / c); // expected-warning {{Division by zero}}
-#else
g(3 / c); // no-warning
-#endif
}
_Bool nondet_bool();
void h(int d) {
int x, y, k, z = 1;
-#ifdef NO_CROSSCHECK
while (z < k) { // expected-warning {{The right operand of '<' is a garbage value}}
-#else
- while (z < k) { // expected-warning {{The right operand of '<' is a garbage value}}
-#endif
z = 2 * z;
}
}