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

9 lines
169 B
Solidity
Raw Normal View History

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