solidity/test/libsolidity/syntaxTests/types/address/address_nonpayable_selfdestruct.sol

8 lines
227 B
Solidity
Raw Normal View History

contract C {
function f(address a) public {
selfdestruct(a);
}
}
// ----
// TypeError: (69-70): Invalid type for argument in function call. Invalid implicit conversion from address to address payable requested.