solidity/test/libsolidity/syntaxTests/nameAndTypeResolution/297_library_functions_do_not_have_value.sol

9 lines
265 B
Solidity
Raw Normal View History

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?