solidity/test/libsolidity/syntaxTests/viewPureChecker/address_constantinople.sol
2020-12-09 14:58:27 +00:00

12 lines
248 B
Solidity

contract C {
function f() public view returns (bytes32) {
return address(this).codehash;
}
function g() public view returns (bytes32) {
return address(0).codehash;
}
}
// ====
// EVMVersion: >=constantinople
// ----