solidity/test/libsolidity/smtCheckerTests/bmc_coverage/timestamp.sol
2020-12-29 22:17:44 +01:00

12 lines
228 B
Solidity

pragma experimental SMTChecker;
contract C {
function f() public view returns (uint) {
uint b = block.timestamp;
uint a = b + 0; // Overflow not possible!
return a;
}
}
// ====
// SMTEngine: bmc