solidity/test/libsolidity/syntaxTests/nameAndTypeResolution/176_overloaded_function_cannot_resolve.sol

8 lines
290 B
Solidity
Raw Normal View History

contract test {
function f() public returns (uint) { return 1; }
function f(uint a) public returns (uint) { return a; }
function g() public returns (uint) { return f(3, 5); }
}
// ----
// TypeError 9322: (176-177): No matching declaration found after argument-dependent lookup.