solidity/test/libsolidity/syntaxTests/globalFunctions/suicide_no_call.sol

9 lines
163 B
Solidity

contract C
{
function f(bytes memory data) public pure {
suicide;
}
}
// ----
// TypeError: (60-67): "suicide" has been deprecated in favour of "selfdestruct"