mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
18 lines
451 B
Solidity
18 lines
451 B
Solidity
contract C {
|
|
function(uint) external returns (uint) x;
|
|
function(uint) internal returns (uint) y;
|
|
function f() public {
|
|
delete x;
|
|
var a = y;
|
|
delete a;
|
|
delete y;
|
|
var c = f;
|
|
delete c;
|
|
function(uint) internal returns (uint) g;
|
|
delete g;
|
|
}
|
|
}
|
|
// ----
|
|
// Warning: (157-162): Use of the "var" keyword is deprecated.
|
|
// Warning: (212-217): Use of the "var" keyword is deprecated.
|