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

9 lines
192 B
Solidity
Raw Normal View History

2020-10-02 10:37:13 +00:00
contract C {
function f() public view returns (uint) {
return address(this).balance;
}
function g() public view returns (uint) {
return address(0).balance;
}
}