solidity/test/libsolidity/syntaxTests/functionTypes/delete_function_type.sol

15 lines
317 B
Solidity
Raw Normal View History

2018-03-16 10:20:06 +00:00
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;
}
}