solidity/test/libsolidity/syntaxTests/nameAndTypeResolution/call_option_value_on_library_function.sol
2020-07-23 14:57:47 +02:00

9 lines
237 B
Solidity

library L { function l() public {} }
contract test {
function f() public {
L.l{value: 1}();
}
}
// ----
// TypeError 2193: (87-100): Function call options can only be set on external function calls or contract creations.