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

9 lines
155 B
Solidity
Raw Normal View History

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