aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/memberLookup/failed_function_lookup_in_library.sol
blob: df0cba3f65629b13a61b66b498dde99ccb97f8a6 (plain) (blame)
1
2
3
4
5
6
7
8
9
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)