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

8 lines
213 B
Solidity
Raw Normal View History

contract C {
function f(uint, uint) public {}
function f(uint) public {}
function g() public { f(1, 2, 3); }
}
// ----
// TypeError: (101-102): No matching declaration found after argument-dependent lookup.