solidity/test/libsolidity/smtCheckerTests/special/chainid.sol

9 lines
161 B
Solidity
Raw Normal View History

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