2018-03-16 10:20:06 +00:00
|
|
|
contract C {
|
|
|
|
function (uint) external returns (uint) x;
|
|
|
|
function f() public {
|
|
|
|
x.value(2)();
|
|
|
|
}
|
|
|
|
}
|
2018-03-16 10:33:05 +00:00
|
|
|
// ----
|
2019-02-12 15:09:16 +00:00
|
|
|
// TypeError: (94-101): Member "value" is only available for payable functions.
|