solidity/test/libsolidity/syntaxTests/viewPureChecker/address_constantinople.sol

12 lines
248 B
Solidity
Raw Normal View History

2020-09-24 17:45:40 +00:00
contract C {
function f() public view returns (bytes32) {
return address(this).codehash;
}
function g() public view returns (bytes32) {
return address(0).codehash;
}
}
// ====
// EVMVersion: >=constantinople
// ----