solidity/test/libsolidity/syntaxTests/nameAndTypeResolution/297_library_functions_do_not_have_value.sol
2019-06-06 12:55:12 +02:00

9 lines
217 B
Solidity

library L { function l() public {} }
contract test {
function f() public {
L.l.value;
}
}
// ----
// TypeError: (87-96): Member "value" is not allowed in delegated calls due to "msg.value" persisting.