solidity/test/libsolidity/syntaxTests/viewPureChecker/address.sol
2021-04-20 17:38:29 +02:00

10 lines
200 B
Solidity

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