2019-08-02 17:46:06 +00:00
|
|
|
pragma experimental SMTChecker;
|
|
|
|
|
|
|
|
contract C {
|
|
|
|
function f(bool b) public pure {
|
|
|
|
uint v = 1;
|
|
|
|
if (b)
|
|
|
|
v >>= 2;
|
|
|
|
assert(v > 0);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// ----
|
2020-09-25 17:09:06 +00:00
|
|
|
// Warning 6328: (117-130): CHC: Assertion violation happens here.
|