solidity/test/libsolidity/syntaxTests/using/free_functions_non_unique_err.sol

13 lines
258 B
Solidity

function id(int8 x) pure returns(int8) {
return x;
}
function id(uint256 x) pure returns(uint256) {
return x;
}
contract C {
using {id} for uint256;
}
// ----
// DeclarationError 9589: (145-147): Identifier is not a function name or not unique.