mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
8 lines
296 B
Solidity
8 lines
296 B
Solidity
|
contract C {
|
||
|
function f() view public {
|
||
|
this.balance;
|
||
|
}
|
||
|
}
|
||
|
// ----
|
||
|
// Warning: (52-64): Using contract member "balance" inherited from the address type is deprecated. Convert the contract to "address" type to access the member, for example use "address(contract).balance" instead.
|