solidity/test/libsolidity/syntaxTests/inlineAssembly/overloaded_reference.sol
2022-04-01 23:41:18 -05:00

12 lines
306 B
Solidity

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