solidity/test/libsolidity/syntaxTests/nameAndTypeResolution/504_builtin_ripemd160_reject_value.sol

8 lines
268 B
Solidity
Raw Normal View History

contract C {
function f() public {
ripemd160.value();
}
}
// ----
2018-05-23 13:39:26 +00:00
// TypeError: (47-62): Member "value" not found or not visible after argument-dependent lookup in function (bytes memory) pure returns (bytes20) - did you forget the "payable" modifier?