solidity/test/libsolidity/syntaxTests/viewPureChecker/address.sol
2020-10-02 11:57:35 +01:00

9 lines
192 B
Solidity

contract C {
function f() public view returns (uint) {
return address(this).balance;
}
function g() public view returns (uint) {
return address(0).balance;
}
}