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

9 lines
164 B
Solidity
Raw Normal View History

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