solidity/test/libsolidity/syntaxTests/functionTypes/delete_function_type.sol
2018-04-11 22:00:04 +02:00

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.