aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity/syntaxTests/memberLookup/failed_function_lookup_in_library.sol
blob: d8f2eadd128d37be7ff74b842a5f4192a530a496 (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).