solidity/test/libsolidity/syntaxTests/memberLookup/failed_function_lookup_in_library.sol

10 lines
253 B
Solidity

library L {
function f(uint, uint) public {}
function f(uint) public {}
}
contract C {
function g() public { L.f(1, 2, 3); }
}
// ----
// TypeError: (115-118): Member "f" not found or not visible after argument-dependent lookup in type(library L)