mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
10 lines
283 B
Solidity
10 lines
283 B
Solidity
|
function f(uint) returns (bytes memory) {}
|
||
|
function f(uint[] memory x) returns (bytes memory) { return f(x[0]); }
|
||
|
function g(uint8) {}
|
||
|
function g(uint16) {}
|
||
|
function t() {
|
||
|
g(2);
|
||
|
}
|
||
|
// ----
|
||
|
// TypeError 4487: (176-177): No unique declaration found after argument-dependent lookup.
|