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

10 lines
195 B
Solidity

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