solidity/test/libsolidity/syntaxTests/inlineAssembly/overloaded_reference.sol

12 lines
297 B
Solidity
Raw Normal View History

contract C {
function f() pure public {}
function f(address) pure public {}
function g() pure public {
assembly {
let x := f
}
}
}
// ----
// DeclarationError: (155-156): Multiple matching identifiers. Resolving overloaded identifiers is not supported.