aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/globalFunctions/sha3_no_call.sol
blob: 37b60e5e4fbc612691384f3afba3395e9625c0fb (plain) (blame)
1
2
3
4
5
6
7
8
contract C
{
    function f(bytes memory data) public pure {
        sha3;
    }
}
// ----
// TypeError: (60-64): "sha3" has been deprecated in favour of "keccak256"