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

7 lines
152 B
Solidity

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