solidity/test/libsolidity/syntaxTests/using/free_functions_non_unique_err.sol
2022-03-14 12:33:44 +01:00

13 lines
245 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 7920: (145-147): Identifier not found or not unique.