solidity/test/libsolidity/smtCheckerTests/operators/compound_shr_1.sol
2021-04-08 21:03:39 +02:00

13 lines
203 B
Solidity

contract C {
function f(bool b) public pure {
uint v = 1;
if (b)
v >>= 2;
assert(v > 0);
}
}
// ====
// SMTEngine: all
// ----
// Warning 6328: (84-97): CHC: Assertion violation happens here.