solidity/test/libsolidity/smtCheckerTests/special/chainid.sol
2021-04-20 17:38:29 +02:00

9 lines
161 B
Solidity

contract C {
function f() public view returns (uint) {
return block.chainid + 0; // Overflow not possible!
}
}
// ====
// SMTEngine: all
// ----