solidity/test/libsolidity/smtCheckerTests/operators/division_5.sol
2022-04-01 23:41:18 -05:00

15 lines
269 B
Solidity

contract C {
function mul(uint8 a, uint8 b) internal pure returns (uint8) {
uint8 c;
if (a != 0) {
c = a * b;
require(c / a == b);
}
return c;
}
}
// ====
// SMTEngine: all
// ----
// Warning 6838: (129-139='c / a == b'): BMC: Condition is always true.