mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
9 lines
265 B
Solidity
9 lines
265 B
Solidity
|
library L { function l() public {} }
|
||
|
contract test {
|
||
|
function f() public {
|
||
|
L.l.value;
|
||
|
}
|
||
|
}
|
||
|
// ----
|
||
|
// TypeError: (87-96): Member "value" not found or not visible after argument-dependent lookup in function () - did you forget the "payable" modifier?
|