mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
8 lines
253 B
Solidity
8 lines
253 B
Solidity
|
contract C {
|
||
|
function f() public {
|
||
|
sha256.value();
|
||
|
}
|
||
|
}
|
||
|
// ----
|
||
|
// TypeError: (47-59): Member "value" not found or not visible after argument-dependent lookup in function () pure returns (bytes32) - did you forget the "payable" modifier?
|